Where does pip install to on Linux when i use --user

3

I just installed a Python app using pip2 install pyriscope --user and now I need to find the installed files, since it seems like the app is built to use the python assuming it's python2, when on my system it's actually python3.

Where do I find the location of --user-installed pip packages?

Thanks!

qubodup

Posted 2015-10-30T00:07:28.577

Reputation: 3 736

Answers

3

In the case of Python 2.7, the location, which --user installs the package to is:

~/.local/lib/python2.7/site-packages/

and executables in:

~/.local/bin/

qubodup

Posted 2015-10-30T00:07:28.577

Reputation: 3 736

in this case how do we import the package in our program, i assume that by default when we use import some_package_name it imports from /usr/local/lib/python3.6/dist-packages , then wont there be conflict ? – cryptoKTM – 2020-01-06T06:32:18.943