开发者社区 问答 正文

python2.7无法调用第三方包pandas

"stackTrace": [

  "ImportError: C extension: No module named _libs not built. If you want to import pandas from the source directory",
  "you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first."

]

展开
收起
证一 2018-11-25 16:06:01 2975 分享 版权
2 条回答
写回答
取消 提交回答
  • pip install pandas

    要不然你版本自己弄不好.

    2019-11-18 18:19:04
    赞同 展开评论
  • 不用源码安装,直接通过pip或者conda安装。
    python3 -m pip install --upgrade pandas
    conda install pandas

    2019-07-17 23:16:25
    赞同 展开评论
问答分类:
问答地址: