ImportError: cannot import name 'PackageFinder' from 'pip._internal.index'

报错如下:

ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (c:pythonpython37libsite-packagespip\_internalindex\__init__.py)

解决方式

  1. curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  2. python get-pip.py
原文地址:https://www.cnblogs.com/6J2B2/p/13817674.html