#getting a Warning message everytime I install a package with pip.

12 messages · Page 1 of 1 (latest)

storm nova
#

I don't know if I should be concerned or not but I get a warning message whenever I install a package with pip.
The message:
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

livid raft
#

Uhm, don't install with sudo I guess

#

pip install

not sudo pip install

storm nova
livid raft
#

Don't blindly trust everything that GPT says, btw. It's often wrong.

storm nova
#

I thought that was the appropritate place to store packages

livid raft
#

Anything that is stored in ~/, aka, the home directory, are only available to the current user. So by putting it in /lib/ or /bin/ or whatever, you are installing the program system wide (for all users). But it doesn't matter in practice, because (I assume) you only have one user anyways.

#

There is nothing wrong with installing pip applications in the home folder.

#

And, as mentioned by the warning, it is even recommended to do so.

storm nova
#

lght