我有magickwand和Python和Mac OX X的問題如何在Mac OS X上使用或安裝MagickWand?
當我將其導入我的錯誤:
brew install imagemagick Warning: imagemagick-6.8.9-1 already installed
我有magickwand和Python和Mac OX X的問題如何在Mac OS X上使用或安裝MagickWand?
當我將其導入我的錯誤:
brew install imagemagick Warning: imagemagick-6.8.9-1 already installed
那麼,實際的問題是:
If your Python in not installed using MacPorts, you have to export MAGICK_HOME path as well. Because Python that is not installed using MacPorts doesn’t look up /opt/local, the default path prefix of MacPorts packages.
而且他們提供的解決方案是:
$ export MAGICK_HOME=/opt/local
brew uninstall --force imagemagick
brew install [email protected]
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile
brew link [email protected] --force
的easy_install沒有這個包。/usr/local/Cellar/imagemagick /usr/local/Library/LinkedKegs/imagemagick /usr/local/opt/imagemagick'它正確嗎?我有imagemagick文件夾: /usr/local/opt/ –
試'的easy_install MagickWand',這是ImageMagick的 – jrjc
的Python版本相同的錯誤: '從wand.image進口圖片 回溯(最近通話最後一個): 文件 「」,1號線,在 文件「 build/bdist.macosx-10.9-x86_64/egg/wand/image.py「,第20行,在 文件」build/bdist.macosx-10.9-x86_64/egg/wand/api.py「,第161行,in ImportError:找不到MagickWand共享庫。 您可能沒有安裝ImageMagick庫。 嘗試安裝: brew install imagemagick' –