Updating Libpng On Mac
I am trying to use a python package (dlib) on my mac OSX running 10.12.3. However, the error I am getting is: ImportErrordlopen(/Users/xargon/anaconda/envs/py27/lib/python2.7/site-
Solution 1:
Are you using a virtual environment? If yes, you need remove libpng from it completely by using brew uninstall libpng
. After that, you should deactivate the virtual environment and type brew uninstall libpng
.
After this, try to make the library again from scratch. This should solve your problem.
P.S. If you have multiple libpng versions installed, you need to remove them, too!
Post a Comment for "Updating Libpng On Mac"