Python引入pandas报错ValueError: numpy.ufunc has the wrong size, try recompiling
Python引入pandas报错ValueError: numpy.ufunc has the wrong size, try recompiling
原因:这是因为 Python 包的版本问题,例如安装了较旧版本的 Numpy,但安装了较新版本的 Pandas。
查看 Numpy版本:pip list

到https://pypi.org/project/pandas/0.13.1/#description找到匹配的pandas下载。

卸载不匹配的pandas包pip uninstall pandas后安装。
重新引入OK!
 
                    
                     
                    
                 
                    
                 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号