Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Incompatibility with latest stable Numpy build (v1.7) #1749

tantrev opened this Issue · 3 comments

2 participants



I just installed the latest stable version of Numpy and am given the following error below after trying to import the finance and pyplot modules from matplotlib:

"RuntimeError: module compiled against API version 8 but this version of numpy is 4"

Any ideas on a possible fix?

Thank you!


Did you build matplotlib yourself from source, or did you install a pre-built binary?

matplotlib needs to be compiled for a specific version of Numpy. The packages we provide don't yet include Numpy 1.7. You can, however, build from source. You just need to remember to remove the build directory first in order to force a complete recompile.


That did the trick! Stupid me, I should have tried that first. :) Thanks for the help.


No problem! Thanks for the report!

@mdboom mdboom closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.