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

CONDA install and pip install options for installing Python dependent Libraries

編輯:Python

First of all, there are many articles on the Internet about their differences , The complete content will not be repeated :

  • https://www.askpython.com/pyt...
  • https://www.anaconda.com/blog...
  • https://stackoverflow.com/que...

Briefly summarize the key points , As a basis for choice :

  • conda Inside python The number of libraries is very small , Only 1500+, If it is not a well-known library, don't think about it ; by comparison pip Source has 23 ten thousand + Library resources for , Two orders of magnitude higher
  • however pip There is an obvious drawback : When installing a library , With the corresponding dependence of fashion , However, if this dependency already exists , And different from the expected version , Then it will delete the current library regardless , Reinstall the required version , This often results in new installations , Some of the existing libraries are unusable ; and conda Will execute accordingly SAT test , Try to ensure the compatibility of all versions

Conclusion :python The dependent libraries , Try... First conda, If there is any, just install it , No more pip install .


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