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


Solution
Manually remove or delete the pip file and pip-20.2.4-py3.7.egg-info file from the directory, which in your case is located in /Users/user/opt/anaconda3/lib/python3.7/site-packages and for some it's in /home/sawan/anaconda3/lib/python3.7/site-packages.
2.Now use conda remove --force pip to completely remove pip from your system.

finally use conda install -c anaconda pip to install pip in your anaconda environment.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM