On 13.05.2014 17:13, Junhwan Choi (최준환) wrote:
Hi yt users,
Recently, I try to install the yt on my mac desktop that uses OS X 10.8.4. While installing yt, I face on strange error and fail to insall. ........ self._load() File "/Users/junhwan2/common/lib/python2.7/site-packages/mercurial/demandimport.py", line 74, in _load mod = _hgextimport(_import, head, globals, locals, None, level) File "/Users/junhwan2/common/lib/python2.7/site-packages/mercurial/demandimport.py", line 43, in _hgextimport return importfunc(name, globals, *args) ImportError: dlopen(/Users/junhwan2/common/lib/python2.7/site-packages/mercurial/osutil.so, 2): Symbol not found: __cg_png_create_info_struct Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /Users/junhwan2/common/lib/libPng.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO /Users/junhwan2/common/bin/python2.7: can't open file '/Users/junhwan2/common/src/yt-hg//distribute_setup.py': [Errno 2] No such file or directory
As far as I know, yt script needs to make src/yt-hg directory and cp distribute_setup.py. Hence, I can not understand what this error for. Can anyone tell me how it happens and how I can fix it?
FYI, I set DEST_DIR="/Users/junhwan2/common" in the script to install yt in my home dir.
Thank you in advance, Junhwan Choi
Hi Junhwan, could you try running: export DYLD_LIBRARY_PATH=.:/Users/junhwan2/common/lib/ (or unset it completely) and then running install script again. Cleaning previous installation would be also a good idea. Cheers, Kacper