-
Notifications
You must be signed in to change notification settings - Fork 27
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
Unable to setup: NO PNG HEADERS FOUND, you need to install libpng-dev #34
Comments
Okay, I've solved the problem by digging into the setup script, but there are multiple issues here about incorrect documentation that needs to be corrected: Querying about libpng and libjpeg was using pkg-config command. pkg-config was not installed in fresh Ubuntu installation, so it was failing, and thinking that libpng was not installed. The stack trace doesn't mention anything about pkg-config, nor does documentation. I've installed pkg-config
That problem went away, but I still got an error:
That one was easy, I needed to install Python 3 developer tools (though someone inexperienced might have trouble finding the cause):
Then, that problem went away too. To summarize:
|
Please see if this PR addresses the issue |
Yes, it addresses the issue clearly now. |
I'm on a fresh Ubuntu 18.10 installation (just installed on a fresh VM).
When I try to build using "./setup.py build" I get the following error:
I've installed
libpng
:However, I'm still getting the exact same error about not finding libpng. What am I doing wrong? Why can't it find
libpng
after installing and why can't it build properly as readme clearly states that libpng is optional anyway?The text was updated successfully, but these errors were encountered: