ValueError: numpy.dtype has the wrong size, try recompiling

 

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

 

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

 

解决方法是升级Numpy版本号 

pip install numpy -U

 

 

posted @ 2019-10-25 13:40  老三的博客  阅读(1426)  评论(0编辑  收藏  举报