【Python配置】pandas包的安裝和Could not find a version that satisfies the requirement pandas (from versions: none) ERROR: No matching distribution found for pandas的解決


首先我嘗試了在cmd窗口運行:會出現Exception異常(爆出一堆紅字)。后來考慮是權限問題,采用管理員身份開啟cmd,以下任選一個命令輸入:

pip install pandas
python -m pip install pandas

報錯:ERROR: Could not find a version that satisfies the requirement pandas (from versions: none);ERROR: No matching distribution found for pandas

 

 由於我本機安裝了python2和python3,pip在這時難以決斷符合的版本,就連使用python -m指定當前版本依然不行,所以必須聲明清楚是使用哪個解釋器的pip:

執行:

py -3 -m pip install pandas

表示指定使用python3的pip,同理-2參數表示使用python2的pip。

 

如果下載過慢,可以換源:

py -3 -m pip install pandas -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

 

 出現Successfully installed的提示則說明安裝成功。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱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之使用pip安裝三方庫Error:Could not find a version that satisfies the requirement (from versions: none),No matching distribution found for ERROR: Could not find a version that satisfies the requirement tensortfows (from versions: none) ERROR: No matching distribution found for tensortfows Could not find a version that satisfies the requirement numpy>=1.7.0 (from pan das==0.17.0) (from versions: ) No matching distribution found for numpy>=1.7.0 (from pandas==0.17.0) pip install 報錯 ERROR: Could not find a version that satisfies the requirement PIL (from versions: none) ERROR: No matching distribution found for PIL centos解決Could not find a version that satisfies the requirement pip3 (from versions: none)及No matching distribution found for pip3問題 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 安裝yamL 文件報錯:Could not find a version that satisfies the requirement yaml (from versions: ) No matching distribution found for yaml pycharm錯誤:Could not find a version that satisfies the requirement gensim (from versions: ) No matching distribution found for gensim win 10 pip Could not find a version that satisfies the requirement selenium (from versions: ) No matching distribution found for selenium
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM