pandas
时遇到了这个错误:RuntimeError: module compiled against API version 9 but this version of numpy is 6
(详情如下)。从长远来看,这应该使用virtualenv
来解决。从短期来看,你知道我该如何解决这个问题吗?
>>> import pandas
RuntimeError: module compiled against API version 9 but this version of numpy is 6
答案 0 :(得分:1)
什么版本的python?重建/重新安装numpy?
pip uninstall numpy; pip install numpy