【发布时间】:2018-11-23 13:02:46
【问题描述】:
我已经使用 pip3 安装了 pandas、numpy 和 matplotlib。导入numpy和matplotlib成功,但是导入pandas出现如下错误。
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
如果我卸载 matplotlib 并只导入 pandas 和 numpy,它们会成功导入。
我已经在python2.7中安装了这些包,它们都可以导入。
我正在运行最新版本的 Raspbian。
【问题讨论】:
-
你能
pip3 show <module>你的模块和它们的版本吗?
标签: python python-3.x python-2.7 pandas matplotlib