Wizard
Wizard

Reputation: 1663

Python: pip installer reinstall

I just updated by pip installer to 10.0.1 and now I am getting the error

ImportError: cannot import name 'main'

when I try to pip install <module>

Is there a was to go back to pip 9.x.x?

Upvotes: 0

Views: 1361

Answers (1)

Nils Werner
Nils Werner

Reputation: 36765

You can downgrade to the latest 9.x version (9.0.3 at the time of writing) using

python -m pip install -U "pip<10"

Upvotes: 2

Related Questions