How to solve import error for pandas?

后端 未结 11 1757
忘掉有多难
忘掉有多难 2020-11-29 08:03

I installed Anaconda with python 2.7.7.
However, whenever I run \"import pandas\" I get the error:
\"ImportError: C extension: y not built. If you want to impo

11条回答
  •  生来不讨喜
    2020-11-29 08:48

    I just had exactly the same issue when running tox.

    Steps to solve:

    1. Update setup.py to contain pandas==0.23.0 (instead of 0.21.0).
    2. Remove .tox directory
    3. Run tox again.

提交回复
热议问题