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