$ sudo pip install wand
Downloading/unpacking wand
Downloading Wand-0.4.1.tar.gz (61kB): 61kB downloaded
Running setup.py (path:/private/tmp/pip_build_root/wand/setup.py) egg_info for package wand
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/tmp/pip_build_root/wand/setup.py", line 8, in <module>
from wand.version import VERSION
File "wand/version.py", line 45, in <module>
from .api import libmagick, library
File "wand/api.py", line 1295, in <module>
libc = ctypes.cdll.LoadLibrary('libc.dylib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libc.dylib, 6): image not found
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/tmp/pip_build_root/wand/setup.py", line 8, in <module>
from wand.version import VERSION
File "wand/version.py", line 45, in <module>
from .api import libmagick, library
File "wand/api.py", line 1295, in <module>
libc = ctypes.cdll.LoadLibrary('libc.dylib')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libc.dylib, 6): image not found
用 El Capitan 加上 dlopen(libc.dylib, 6): image not found
搜索了一下,其他的一些项目也遇到了类似的问题,目前貌似暂时无解:
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.