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

猜你喜欢

转载自www.cnblogs.com/laosan007/p/11737589.html