New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install matplotlib fails #808
Comments
git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install python
>>> import matplotlib
>>> print matplotlib.__version__
1.2.x
>>> print matplotlib.__file__
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/matplotlib/__init__.pyc |
I have the same error with pip, but when I clone from the git repo, I get a different libpng related error: https://gist.github.com/2269043 Same setup as diimdeep, osx 10.7, xcode 4.3, python 2.7.2 via homebrew, with pip installed for the python from homebrew. |
my xcode is 4.3.2 |
@diimdeep: The error you're getting with @staticfloat: Where does your install of |
@dmcdougall; I created a homebrew formula to install libpng12 and link matplotlib with that, and this worked. |
Hmmm. I have |
os x 10.7.3 matplotlib install (does not work) works: I did notice that git clone installs matplotlib version 1.2.x whereas the other methods were installing 1.1.x
error generated
agg24/include/agg_renderer_outline_aa.h:1368:45: error: binding of reference to
type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa'
drops qualifiers
line_profile_aa& profile() { return *m_profile; }
^~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
|
This has been fixed, see #713 |
When 1.1.1 is released, #713 means that this will no longer fail. Closing this issue. |
I'm runnning matplotlib 1.4.x, yet I get this error: ImportError: dlopen(/Library/Python/2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.9-intel.egg/matplotlib/_png.so, 2): Library not loaded: /usr/local/lib/libpng15.15.dylib I have libpng15 installed, but not libpng16. |
@roseperrone You should probably create a new issue for this as what ever was going wrong with 1.0 is probably not the same thing going wrong now. If you think this is a bug in the library please create an issue, if you think it is configuration issues on your machine I would try the mpl mailing list of stackoverflow. In either case you should provide more information about how you installed/configured matplotlib and python. Getting the installation correct an Macs seems to be rather tricky. |
This is probably related to the recently posted wheels. @mbrett |
latest osx, xcode
install python 2.7.2 with brew, then install pip for it
trying install matplotlib but no luck
https://gist.github.com/2259487
The text was updated successfully, but these errors were encountered: