DATAfiend
DATAfiend

Reputation: 13

Upgrade pip install on Win10 box

I'm trying to upgrade pip install to 22.3. I keep getting this error, "default to user install because normal sit-packages is not writeable." I'm at the cmd prompt in win10 trying to install.

This came about because I'm trying to install pypdf2 and this won't install to python that's in my environment path. So I'm stumped. Thanks for any help.

Upvotes: 0

Views: 62

Answers (2)

shawnjb
shawnjb

Reputation: 325

You can try to install it with the --user flag, which will install it to your user directory instead of the system directory. This is not recommended, but it will work.

pip install --user pypdf2

Upvotes: 0

DATAfiend
DATAfiend

Reputation: 13

Unfortunately, I just uninstalled conda & the vanilla python. I reinstalled just plain python for now.

I think originally I did not use venv properly and maybe my conda & vanilla pythons could have been mixed? Not sure. But my vanilla 3.11 is working now and I do some more work.

Thanks for the help.

Upvotes: 1

Related Questions