win 10 pip Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium


 

 

一、當出現這個錯誤的時候一頓百度。

  1.從新卸載Python,安裝3.6,還是不行

  2.從新卸載pip,單獨安裝.直接下載get-pip.py文件,執行命令python get-pip.py,還是不行

  3.也在Python/Script/下回復過文件,不行

  4.加上--trusted-host 執行 pip install xrld -i https://pypi.org/simple --trusted-host pypi.org,也是不行

二、運行,pip install selenum  和其它命令時,將其它程序關閉。天啊。成功了。

  PS:打開一些軟件發現原來是抓包工具忘記了。元凶如下。

 

三、通過百度,也順便把pip原資源給掛到阿里了,因為項目多是阿里雲。這樣安裝東西,pip起來嗖嗖帶風。如下:

  1.如圖所示,在當前用戶下創建pip.txt並改后綴:pip.ini

 

   2.如圖編輯好,保存。

 

 

  3.本人用的是阿里源。其它配置如下:

    阿里雲 http://mirrors.aliyun.com/pypi/simple/

    中國科技大學 https://pypi.mirrors.ustc.edu.cn/simple/ 

    豆瓣(douban) http://pypi.douban.com/simple/ 

    清華大學 https://pypi.tuna.tsinghua.edu.cn/simple/

    中國科學技術大學 http://pypi.mirrors.ustc.edu.cn/simple/

  4.配置環境變量%HOMEPATH%\pip\pip.ini

  5.打開CMD  pip 就可以了。賊快。

  6.好了,齊活兒了,第一次寫。不太好。取所需就好。

 


免責聲明!

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



猜您在找 centos解決Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3問題 pip install 報錯 ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL Python之使用pip安裝三方庫Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for 樹莓派pip安裝opencv報錯,Could not find a version that satisfies the requirement cv2 (from versions: )No matching distribution found for cv2 python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql ERROR: Could not find a version that satisfies the requirement tensortfows (from versions: none) ERROR: No matching distribution found for tensortfows pycharm錯誤:Could not find a version that satisfies the requirement gensim (from versions: ) No matching distribution found for gensim 安裝yamL 文件報錯:Could not find a version that satisfies the requirement yaml (from versions: ) No matching distribution found for yaml 在公司用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安裝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