[英]Error with importing pandas in python3 'TypeError: descriptor '__subclasses__' of 'type' object needs an argument'
the command import pandas as pd
in Python 3.5.2 gives an error : Python 3.5.2 中的命令
import pandas as pd
给出了一个错误:
'TypeError: descriptor '__subclasses__' of 'type' object needs an argument'
This happens only with Python3 and Python 2 imports pandas just fine.这只发生在 Python3 和 Python 2 导入熊猫就好了。 I searched the error code and applied the suggestions others provided, which didn't work for me.
我搜索了错误代码并应用了其他人提供的建议,但这对我不起作用。
Update your python to 3.5.3+ version.将您的 python 更新到 3.5.3+ 版本。 It starts with the 0.25.x pandas series.
它从 0.25.x pandas 系列开始。
From the pandas documentation :从熊猫文档:
Officially Python 3.5.3 and above, 3.6, and 3.7.
官方 Python 3.5.3 及更高版本、3.6 和 3.7。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.