程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python PIP installation error collection

編輯:Python

1. solve Python When installing the library Requirement already satisfied problem

terms of settlement :

pip install --target= Package path Package name
Example
pip install --target=D:\ProgramData\Anaconda3\Lib\site-packages numpy

2.ERROR: Cannot uninstall ‘***’. It is a distutils installed project and thus we cannot

When upgrading some packages , use pip install --upgrade *** The command to update , However, it is impossible to uninstall :
ERROR: Cannot uninstall 'TBB'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
You cannot delete it manually

terms of settlement

Find the to update python Package storage address :X:\ProgramData\Anaconda3\Lib\site-packages`, Then delete all The files and folders associated with this package , You can successfully update again .

3. ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

Report errors :pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pip The dependency parser for does not currently consider all packages installed . This behavior is the root cause of the following dependency conflicts .

terms of settlement
Reinstall updates ERROR The package prompted below can be solved by the specified version


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved