Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AttributeError: Module Pip has no attribute 'main'

Tags:

python

pip

I am trying to build the python api for an open source project called Zulip and I keep running into the same issue as indicated by the screenshot below.

I am running python3 and my pip version is 10.0.0. The file in question is setup.py and the code that is messing up is when the pip.main() attribute is accessed to install a package.

Now, I know this build should succeed because its an open source project, but I have been trying for hours to fix the dependency issue regarding pip.main().

Any help would be greatly appreciated.

enter image description here

like image 301
Kishan Patel Avatar asked Apr 15 '18 07:04

Kishan Patel


1 Answers

python3 -m pip install --user --upgrade pip==9.0.3 

pip issue: rollback

like image 140
ericson.cepeda Avatar answered Oct 14 '22 10:10

ericson.cepeda