pandas包的安装和Could not find a version that satisfies|9

简介: pandas包的安装和Could not find a version that satisfies|9

报错


首先我尝试了在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


image.png

 

由于我本机安装了python2和python3,pip在这时难以决断符合的版本,就连使用python -m指定当前版本依然不行,所以必须声明清楚是使用哪个解释器的pip:


执行:


py -3 -m pip install pandas


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


image.png

 

换源:


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


image.png

 



出现Successfully installed的提示则说明安装成功。


相关文章
|
18天前
|
数据采集 数据可视化 数据挖掘
Python量化炒股常用的Pandas包
Python量化炒股常用的Pandas包
39 7
|
3月前
|
IDE 开发工具 iOS开发
Pandas如何在PyCharm中进行安装?
【7月更文挑战第4天】Pandas如何在PyCharm中进行安装?
1134 61
|
2月前
|
Python
pandas库明明安装成功了,为什么总是导入错误?
pandas库明明安装成功了,为什么总是导入错误?
223 4
|
3月前
|
数据采集 数据挖掘 数据处理
Pandas如何安装在Windows系统?
【7月更文挑战第8天】Pandas如何安装在Windows系统?
121 2
|
3月前
|
开发者 Python
【Python】已解决:(pandas read_excel 读取Excel报错)ImportError: Pandas requires version ‘2.0.1’ or newer of ‘x
【Python】已解决:(pandas read_excel 读取Excel报错)ImportError: Pandas requires version ‘2.0.1’ or newer of ‘x
160 0
|
3月前
|
数据库 Python
【Python】已解决:Pandas requires version ‘1.4.0’ or newer of ‘sqlalchemy’ (version ‘0.7.10’ currently ins
【Python】已解决:Pandas requires version ‘1.4.0’ or newer of ‘sqlalchemy’ (version ‘0.7.10’ currently ins
89 0
|
5月前
|
Python
python相关库的安装:pandas,numpy,matplotlib,statsmodels
python相关库的安装:pandas,numpy,matplotlib,statsmodels
124 0
|
数据可视化 JavaScript 前端开发
4个将Pandas换为交互式表格Python包
Pandas是我们日常处理表格数据最常用的包,但是对于数据分析来说,Pandas的DataFrame还不够直观,所以今天我们将介绍4个Python包,可以将Pandas的DataFrame转换交互式表格,让我们可以直接在上面进行数据分析的操作。
90 0
|
SQL 数据挖掘 数据库
PandaSQL:一个让你能够通过SQL语句进行pandas的操作的python包
PandaSQL:一个让你能够通过SQL语句进行pandas的操作的python包
621 0
PandaSQL:一个让你能够通过SQL语句进行pandas的操作的python包
天秀,手机也可以写Python代码了,还支持Numpy,Pandas等库的安装!
天秀,手机也可以写Python代码了,还支持Numpy,Pandas等库的安装!
天秀,手机也可以写Python代码了,还支持Numpy,Pandas等库的安装!