lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.4k stars 1.13k forks source link

Unable to run examples under MacOSX and Python 2.7 #138

Open bikeNomad opened 4 years ago

bikeNomad commented 4 years ago

When I try to run any of the examples (which built fine), I get an abort:

terminating with uncaught exception of type std::runtime_error: Error loading module matplotlib.pyplot!

I can run Python programs that use matplotlib.pyplot.

I am running Mac OSX 10.13.6.

My Python 2.7 interpreter was installed by homebrew.

sadads1337 commented 4 years ago

please, watch readme of my PR: https://github.com/lava/matplotlib-cpp/pull/149 it should help you.