Reputation: 10854
I'm trying to install QGis (from the Kyngchaos packages) and it fails with the error "QGIS requires the Matplotlib python module.".
I'm pretty sure the problem is that I need to install matplotlib for Apple's system Python, so that it can be found by QGis (see background).
I'm a bit confused by the error, because I just open python at the command line, it finds matplotlib without any problems:
$ python
>>> import matplotlib
>>>
I guess the Python I've opened isn't the "Apple Python" - indeed which python
gives me /opt/local/bin/python
.
But if I look in /Library/Python/2.7/site-packages
as the answer above suggests, I don't see matplotlib there.
So, how can I install matplotlib for the Apple's system Python?
Upvotes: 2
Views: 2576
Reputation: 2265
I had exactly the same problem with you. After spending hours searching on the net for solutions here is what i found:
I found that great link: https://www.youtube.com/watch?v=oAC5K8jMfQI
which describes you in detail what to do.So you just have to download:
Good luck. For me it worked!
Upvotes: 1
Reputation: 272
Install matplotlib from here: http://www.kyngchaos.com/software/python. It will put matplotlib in /Library/Python/2.7/site-packages
That's where Qgis looks for it.
Upvotes: 2