Could not find a version that satisfies the requirement pandas==0.25.3 (from pandas_profiling)的错误解决

邮差的信 提交于 2020-02-29 22:58:04

错误接:no matching distrubute 的错误

查询过更改源,无效;更新pip,无效;更新了pandas也无效,更新不上去版本:

Looking in indexes: http://pypi.douban.com/simple/
Requirement already up-to-date: pandas in /usr/local/lib/python3.5/dist-packages (0.24.2)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.5.0 in /usr/local/lib/python3.5/dist-packages (from pandas) (2.7.3)
Requirement already satisfied, skipping upgrade: pytz>=2011k in /usr/local/lib/python3.5/dist-packages (from pandas) (2018.5)
Requirement already satisfied, skipping upgrade: numpy>=1.12.0 in /usr/local/lib/python3.5/dist-packages (from pandas) (1.14.5)
Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/local/lib/python3.5/dist-packages (from python-dateutil>=2.5.0->pandas) (1.11.0)

推测是安装目标库pandas profiling版本无法对应现有的更新不上去的pandas版本,设置较久的版本号就可以了。

!pip3 install pandas_profiling==2.4  # 
# !pip install -U matplotlib

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!