A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pypa/pip/issues/5722 below:

pip should respect /usr/local · Issue #5722 · pypa/pip · GitHub

What's the problem this feature will solve?

pip breaking system dependencies on Linux. Right now, users who want to respect the os dependencies need to install packages as user or need to use separated environments. This is obviously not optimal. We should be able to run pip without breaking the system out of the box.

Describe the solution you'd like

The solution is quite simple, just make pip respect /usr/local. pip shouldn't touch /usr/lib since that directory is supposed to be used by the distribution. pip should install its packages to /usr/local/lib.

However, I don't know what would be the best way to add /usr/local/lib/... to the PYTHONPATH. I think there's a section in python config that allows us to do that. If not, we could try to submit a PEP.

Alternative Solutions
As I mentioned before, those would be installing as user (--user) or using a pyenv.

chrisjbillington, andretiagogr and pyfisch


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4