-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Pip install can't find freetype and png despite them being installed #15155
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
Comments
Looks likely due to the bug fixed in #13064, i.e. matplotlib tries to check for headers but doesn't know about $CPATH/$C_INCLUDE_PATH. Probably you can fiddle with the MPLBASEDIRLIST environment variable, or try to backport that PR to 2.2.x (likely a lot of work). |
Is this then a problem with pip or matplot lib? Do you expect I could build matplotlib using either |
Why is pip picking the tarball over the wheel? |
No idea.
|
MPLBASEDIRLIST effectively plays the role of --prefix. The gory details are in #9737 and #13064; you'll need to experiment with how to set it effectively in your case. |
I am going to close this as no-action due to inactivity. @oliversheridanmethven If you still have this issue a mpl3.x please open a new issue. |
I have a virtual environment on a new device for Python2.7. I want to install matplotlib, but it is throwing me the following error:
However, considering the
png.h
file, I know that the header file is in my path, asand
I have just done local installs from source for both freetype and png and so I have no idea why it can't find the headers for these.
The text was updated successfully, but these errors were encountered: