【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