Python 官方文档:入门教程 => 点击学习
安装pandas出错: Running setup.py (path:/data/envs/py3/build/pandas/setup.py) egg_info for pack
Running setup.py (path:/data/envs/py3/build/pandas/setup.py) egg_info for package pandas
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/data/envs/py3/build/pandas/setup.py", line 736, in <module>
packages=find_packages(include=['pandas', 'pandas.*']),
TypeError: find_packages() Got an unexpected keyWord argument 'include'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/data/envs/py3/build/pandas/setup.py", line 736, in <module>
packages=find_packages(include=['pandas', 'pandas.*']),
TypeError: find_packages() got an unexpected keyword argument 'include'
(原因是include 中的 find_packages()过于老旧)
pip install -U setuptools
然后就可以正常安装!!!
补充:pyCharm上解决安装不上pandas库问题
最近在PyCharm上安装pandas库的时候,总是安装不上,提示好像是pip除了错误。
我使用的是Python 3.4版本。最后判断应该是自己pip版本应该太旧了,最后再cmd更新了pip之后就行了。
python -m pip install -U pip
更新完成之后,在PyCharm平台正常搜索安装pandas库就行了。
以上为个人经验,希望能给大家一个参考,也希望大家多多支持编程网。
--结束END--
本文标题: 解决python3安装pandas出错的问题
本文链接: https://www.lsjlt.com/news/126396.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0