Python之使用pip安裝三方庫Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for


  出現多次使用pip安裝包時提示以下報錯:

ERROR: Could not find a version that satisfies the requirement <package> (from versions: none)
ERROR: No matching distribution found for <package>

 看提示信息說是木有匹配的包版本,那既然這樣就指定安裝的Python的三方包的版本,但是也不行,那說明可能不是包版本問題。

網上查了下說有可能是網絡問題,於是替換使用國內的鏡像源來加速:

  pip install  <package> -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

  --trusted-host pypi.douban.com的作用是獲得ssl的認證

執行命令后,python包安裝成功

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql 【Python配置】pandas包的安裝和Could not find a version that satisfies the requirement pandas (from versions: none) ERROR: No matching distribution found for pandas的解決 pip install 報錯 ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL ERROR: Could not find a version that satisfies the requirement tensortfows (from versions: none) ERROR: No matching distribution found for tensortfows pip安裝Tensorflow模塊問題:ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.0rc (from versions: none) ERROR: No matching distribution found for tensorflow==1.15.0rc centos解決Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3問題 win 10 pip Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium 在公司用pip安裝openpyxl庫時,報錯:Could not find a version that satisfies the requirement jdcal (from openpyxl) (from versions: ) No matching distribution found for jdcal (from openpyxl) 樹莓派pip安裝opencv報錯,Could not find a version that satisfies the requirement cv2 (from versions: )No matching distribution found for cv2 使用pip安裝pymysql出錯;Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: ) No matching distribution found for cryptography (from pymysql)
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM