ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions'

pip报错

from pip._internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid
ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions' (C:\Python38\lib\site-packages\pip\_internal\exceptions.py)

 

下载bootstrap.pypa.io/get-pip.py,python get-pip.py安装成功

之后成功解决

 

posted @ 2024-07-18 13:30  腹肌猿  阅读(32)  评论(0编辑  收藏  举报