Pip --user installs package to Default user directory on Windows 10

Try running cmd as admin when installing


You can try setting the install target with the --target option like so:

pip install --target=C:\Users\Autouser\Appdata\Roaming\Python\site-packages package_name

If that doesn't work, another option is to try using --install-option like this:

pip install --install-option="--prefix=$PREFIX_PATH" package_name

Finally, if all else fails, here's one more way to do it:

PYTHONUSERBASE=/path/to/install/to pip install --user

You can specify which python version to install the package for by using python2.x -m pip install ...

Hopefully one of these helps you! :)