使用pandas时遇到ValueError: numpy.dtype has the wrong size, try recompiling
生活随笔
收集整理的這篇文章主要介紹了
使用pandas时遇到ValueError: numpy.dtype has the wrong size, try recompiling
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
[問題]使用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?
安裝pandas的時候看見需要的numpy版本要求,盡然沒有理會……
?
原文:http://blog.csdn.net/chloezhao/article/details/53197681
轉載于:https://www.cnblogs.com/hellowcf/p/6952773.html
總結
以上是生活随笔為你收集整理的使用pandas时遇到ValueError: numpy.dtype has the wrong size, try recompiling的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微信绑定信用卡怎么消费?不能用怎么办?
- 下一篇: 支付宝绑定银行卡预留手机号码不对是为什么