【问题标题】:Runtime error with module Pandas模块 Pandas 的运行时错误
【发布时间】:2014-03-23 08:58:47
【问题描述】:

在搞砸了一点之后,我现在在导入 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

【问题讨论】:

    标签: python numpy import


    【解决方案1】:

    什么版本的python?重建/重新安装 numpy?

    pip uninstall numpy; pip install numpy
    

    https://stackoverflow.com/a/21647753/1821490

    【讨论】:

    • 我最终安装了 Anaconda,所以现在我遇到了一些新问题(无法加载 cv2)。顺便谢谢!
    猜你喜欢
    • 2016-05-31
    • 2013-12-29
    • 2018-11-28
    • 2014-06-16
    • 2021-01-28
    • 1970-01-01
    • 2013-07-08
    • 1970-01-01
    • 2017-09-17
    相关资源
    最近更新 更多