Install Matplot Lib Mac - Mavericks - Error Pyplot
I have tried installing matplotlib a number of ways and I was successful using - download through github, changing directory to folder, and running sudo python setup.py install. Bu
Solution 1:
I highly recommend you install Anaconda. It solves a lot of the issues that comes up when installing scientific related modules.
Solution 2:
So I fixed the problem: Uninstalled matplotlib manually by located install directory in python:
>>>import matplotlib>>>matplotlib.__file__
Then I went to my finder and located the folder using CMD+Shift+G and pasted the file location given. Selected the matplotlib file and deleted. Went to cmd line and typed
sudo pip install matplotlib
Now it works. Also, before running pip I installed xcode and fixed the hang up between clang and lipo as well using these instructions: Install xcode, go to termina -
xcode-select--install
Install Command Line tools at: https://developer.apple.com/downloads/index.action?=command%20line%20tools#
Go to terminal:
sudo mv /usr/bin/lipo /usr/bin/lipo.orig sudo
ln -s /Library/Developer/CommandLineTools/usr/bin/lipo /usr/bin
Install Pip if you dont have it:
sudo su
easy_install pip
Post a Comment for "Install Matplot Lib Mac - Mavericks - Error Pyplot"