albusdemens
albusdemens

Reputation: 6624

Runtime error with module Pandas

after messing around a bit I now have this error when importing pandas: RuntimeError: module compiled against API version 9 but this version of numpy is 6 (details below). On a long term, this should be solved using virtualenv. On a short term, do you know how should I fix this?

>>> import pandas RuntimeError: module compiled against API version 9 but this version of numpy is 6

Upvotes: 1

Views: 1875

Answers (1)

Alex Kroll
Alex Kroll

Reputation: 481

What version python? Rebuild/reinstall numpy?

pip uninstall numpy; pip install numpy

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

Upvotes: 1

Related Questions