0

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?

Wizard
  • 1,533
  • 4
  • 19
  • 32
  • 3
    Possible duplicate of [Python troubleshooting: ImportError: cannot import name 'main'](https://stackoverflow.com/questions/49969308/python-troubleshooting-importerror-cannot-import-name-main) – jamborta Jun 25 '18 at 11:49

1 Answers1

2

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"
Nils Werner
  • 34,832
  • 7
  • 76
  • 98