I get the following error while loading image :
Module build failed: Error: dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib

I resolved the issue with brew install libpng as suggested here.
According to this https://github.com/BVLC/caffe/issues/3806
I tried this command
brew link --overwrite libpng
It worked like a charm!!

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With