-
Notifications
You must be signed in to change notification settings - Fork 9
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
problem with importing pip._internal.main
as pip_exec
#34
Comments
Hi. P.S. |
#34 fix of problem with importing `pip._internal.main` as `pip_exec`
BTW I'm working with pyenv and it works fine. Not sure what problem did you have. |
Hello!
Today I started new project with pyenv and python-3.8.0 and I had problems with installation packages via
pundle
. For example I putted one linepyramid
intorequirements.txt
and then I had an error:When I replaced
pyramid
line inrequirements.txt
withdjango
I had the same error. I repeated it with lots of packages with the same result.I don't know why but It behaves because of how Python imports the
main
method frompip._internal
. The imported method is not a method! The method's type is a module. I fixed this behavior by simple check of type of the imported method's type and if itmodule
I fetching method from it.The text was updated successfully, but these errors were encountered: