Sła*_*bik 5 python macos imagemagick
我在magickwand和python和Mac OX X上遇到问题。
导入时出现错误:
ImportError: MagickWand shared library not found. You probably had not
installed ImageMagick library. Try to install: brew install imagemagick
Run Code Online (Sandbox Code Playgroud)
brew install imagemagick Warning: imagemagick-6.8.9-1 already installed
Run Code Online (Sandbox Code Playgroud)
Rib*_*ena 11
要让 Wand 与 imagemagick 7 配合使用:
brew install imagemagick
echo 'export MAGICK_HOME=/opt/homebrew/opt/imagemagick/' >> ~/.zshrc
echo 'export PATH="/opt/homebrew/opt/imagemagick/bin:$PATH"' >> ~/.zshrc
Run Code Online (Sandbox Code Playgroud)
brew uninstall --force imagemagick
brew install imagemagick@6
echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.bash_profile
brew link imagemagick@6 --force
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4922 次 |
| 最近记录: |