-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip installs already installed packages #7165
Comments
Hello. This is specific to Debian/Ubuntu's packaging of pip, as mentioned in #4222 (comment) (i.e. they default to Hope that helps! |
Same here. My setup contains
which is already installed in my Ubuntu 18.04 installation. Running: Although it might be UBUNTU issue, pip must provide a way to bypass this (by something like
|
@Xoristzatziki, as mentioned in the other thread you can use |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Sorry for reopening this. Since now is known that a bad-behavior exists in some major distributions, my thought is that at least a well formatted warning should be issued, perhaps with some kind of "do this" or "do that" or even by directing the user to this exact page. (PS.: No further info or responses will be provided by me, so, if desired, close again this issue a.s.a.p. and forgive me for reopening) |
The solution to this problem (and many, many others) is to use Anaconda and never rely or use the system Python distribution. |
Environment
Description
My requirements.txt contains package names and no versions.
Whenever I do
pip3 install -r requirements.txt
, the packages get reinstalled.Expected behavior
If a package already exists, do not attempt to reinstall it.
How to Reproduce
my requirements.txt:
run
pip3 install -r requirements.txt
as plain user two timesOutput
The text was updated successfully, but these errors were encountered: