Issue when executing command `bench install-app erpnext`

I’m having this issue when I execute this command: bench install-app erpnext

The error:

OSError: dlopen(/System/Library/Frameworks/CoreServices.framework/CoreServices, 6): Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
  Expected in: /Applications/erpnext/common/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib

Thank you.

Seems the celery library has not been installed correctly. Can you debug from the celery forum or google it.

Hi @Lsa

Can you try installing bench and erpnext in your user’s home folder instead of in /Applications? Mac OS X might have some kind of restrictions on it.

-Anand.