Closed JohannesBuchner closed 4 years ago
May need to install a pinned numpy version: https://stackoverflow.com/questions/48054531/runtimeerror-module-compiled-against-api-version-0xc-but-this-version-of-numpy
ugh, well that's annoying. Thanks for bringing this to my attention. I'll merge in #195 since the changes are pretty straightforward and fix this up in the near-term future (hopefully).
The error seems to occur because pip is not smart enough to update numpy to match scipy version. It actually even says the install is broken. Using a separate virtual environment to run the test in isolation from the pre-installed numpy or upgrading numpy beforehand should fix the issue.
Should now be resolved as of #197. Thanks @MatthieuDartiailh!
There seems to be an issue importing numpy in travis.
I used conda to avoid these types of problems, e.g. here: https://github.com/JohannesBuchner/nway/blob/master/.travis.yml