[Python-modules-team] Bug#892744: python3-pip: breaks with venv --system-site-packages
Bernhard Reiter
bernhard at intevation.de
Mon Mar 12 13:53:11 UTC 2018
Package: python3-pip
Version: 9.0.1-2
Severity: normal
Hi Maintainers,
according to `pip help install`::
--user
[..]
On Debian systems, this is the default when running outside of a
virtual environment and not as root.
However when using the recommended virtual environment `venv`,
the detection does not work. Example:
python3 -m venv --system-site-packages x_env
. x_env/in/activate.fish
pip install vdirsyncer
will end up with installed files
in .local/bin and .local/lib/python3.5/site-packages/
While they should have been below x_env.
In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876145
the problems is also mentioned.
Best Regards,
Bernhard
-- System Information:
Debian Release: 9.4
Versions of packages python3-pip depends on:
ii ca-certificates 20161130+nmu1
ii python-pip-whl 9.0.1-2
ii python3 3.5.3-1
More information about the Python-modules-team
mailing list