您的位置:首页 > 产品设计 > UI/UE

【问题】ValueError: numpy.dtype has the wrong size, try recompiling解决

2016-11-17 11:23 531 查看

[问题]使用pandas时遇到ValueError: numpy.dtype has the wrong size, try recompiling

[原因] 这是因为 Python 包的版本问题,例如安装了较旧版本的 Numpy,但安装了较新版本的 Pandas。

[解决方法]

查看Numpy版本号 python -c "import numpy; print numpy.version.version

升级Numpy版本号   pip install numpy -U
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐