[yt-users] yt install error on Mac

Kacper Kowalik xarthisius.kk at gmail.com
Tue May 13 12:27:34 PDT 2014


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140513/d7c04524/attachment.pgp>


More information about the yt-users mailing list