-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Idea: Check for packages with 2 installed versions #2235
Comments
2 installed versions is not something generally supported in python (except with eggs, and pip does not deal with eggs). Unless I am missing something here... |
yes, I agree this can happen on occasion, and it causes problems. there's an open PR for |
@msabramo yes |
Closing this. I believe that we've fixed the underlying problem that was causing this to happen making such a check no longer needed. If you run into this problem again please open a new issue for it. |
If you end up with 2 egg-infos or dist-infos, weird stuff happens. IIRC, pip reports one of them only and it's not necessarily the one that gets loaded when code tries to import.
Folks sometimes run into this at my work where pip freeze tells them a new version is installed but the system exhibits behavior of the old version. Usually in this case, I advise doing pip uninstall twice, they look at me like "Seriously?", and then it fixes their problem.
This was the motivation behind my
pip install -e
PR #1552. But I don't know I there are other ways to get into that situation.Maybe a
pip check
command? And maybe a pip freeze would do this check as well?The text was updated successfully, but these errors were encountered: