-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] setuptools>=48.0.0 installs msgpack==1.0.3 to site-packages
instead of dist-package
when using pip install --no-cache-dir
#3457
Comments
site-packages
instead of dist-packages
site-packages
instead of dist-packages
Hi @squahtx, thank you very much for opening the issue.
With all of this in mind, There are a few things you can do to workaround this limitation in Debian systems.
It might also be worthwhile to contact the maintainers of the Python packages in Debian and ask if it is possible to add |
site-packages
instead of dist-packages
site-packages
instead of dist-packages
when using pip install --no-cache-dir
site-packages
instead of dist-packages
when using pip install --no-cache-dir
site-packages
instead of dist-packages
when using pip install --no-cache-dir
, with setuptools==63.2.0 and pip==18.1
site-packages
instead of dist-packages
when using pip install --no-cache-dir
, with setuptools==63.2.0 and pip==18.1site-packages
instead of dist-package
when using pip install --no-cache-dir
Testing on the latest setuptools version produces the same unwanted result: Output
That fixes things, thank you! Output
|
setuptools version
setuptools>=48.0.0
Python version
Python 3.7
OS
Debian 10
Additional environment information
Occurs in the
debian:buster
Docker container, where packages go into.../dist-packages
:Description
pip install --no-cache-dir msgpack==1.0.3
with setuptools>=48.0.0 installs msgpack to/usr/lib/python3.7/site-packages/
, where Python can't find it.When the
--no-cache-dir
option is removed or setuptools==47.3.2 is used, msgpack gets installed to/usr/local/lib/python3.7/dist-packages/
as expected.Expected behavior
pip install --no-cache-dir msgpack==1.0.3
with setuptools>=48.0.0 installs msgpack to/usr/local/lib/python3.7/dist-packages/
.How to Reproduce
debian:buster
container, install Python and note that packages go intodist-packages
.pip list
does not pick up msgpack/usr/lib/python3.7/site-packages/msgpack
:Output
verbose output, with setuptools==48.0.0:
The text was updated successfully, but these errors were encountered: