-
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
Trying to execute module as a function #7206
Comments
Hi @ocket8888. With the recent update you may be seeing issues like mentioned in #5599. Your best bet is to try |
Yes that works. Should I leave the issue open or is it captured by #5599? |
I would say captured by #5599. I left a comment there with your error message so it should be easily found. We may update the top post if it seems to be common. Thanks for the report! |
side note, for future reference: i have also hit this error today, after i upgraded pip3, distro, install, requests and urllib3.... and i've discovered it's a side effect of having multiple versions of pip around, installed under multiple paths. in my case below, /usr/bin/pip3 is the old, OS-packaged version of pip and if i run an upgrade then the new version will get installed under /usr/local/bin/pip3 BUT the shell will continue to use the old one that it has used already in that session, until i log out and back in.
(logout and re-login here)
and ... it works again! |
Environment
Description
pip 19.3 is trying to execute its 'main' module as though it were a function. I'm not sure where or why.
Expected behavior
The script that
pip
provides ought to run without crashing.How to Reproduce
TypeError: 'module' object is not callable
Output
The text was updated successfully, but these errors were encountered: