Generally the latest version is installed by default (currently 7.0.8), but through testing it is found that this version will report an error (ImportError: MagickWand shared library not found.) so it is recommended to install im6 version
Installation of im6
There is no need to pay attention to the first step, at this step you need to check the 5th box
After installation, you need to configure the system environment variables
Lastly you have to setMAGICK_HOME
environment variable to the path of ImageMagick (C:\ProgramFiles\ImageMagick-6.9.3-Q16
).
Summary of errors that occur after installation and operation
error1: ImportError: MagickWand shared library not found.
the first is ImageMagick(32bit or 64bit) must be accord with the python(32bit or 64bit), even in the 64bit OS. If not, there will be a ImageMagick not installed mistake.
The second is that it need the Ghostscriptotherwise ImageMagick wouldn’t work properly.
error2: Imagemagick Convert PDF to JPEG: FailedToExecuteCommand `“gswin32c.exe”/PDFDelegateFailed
You need to installGhostscriptin order to rasterize vector files (PDF, EPS, PS, etc.) with ImageMagick. IM will shell out to Ghostscript when doing these manipulations (you can see it if you use the-verbosetag in your IM invocation). You could also use Ghostscript by itself to rasterize vector files.
Similar Posts:
- [Solved] Linux zbar Compile error: /usr/include/x86_64-linux-gnu/bits/stdio2. h:143:1: error: expected identifie….
- Using react native elements in RN project to report an error: unrecognized font family ‘material icons’
- Windows Python Install: requires numpy+mkl & ImportError: cannot import name NUMPY_MKL
- To solve the problem of installing pyuserinput and pyhook — attributeerror: ‘hookmanager’ object has no attribute ‘k
- The error and installation method of import CV2 in Python
- Python ImportError: No module named win32com.client [How to Solve]
- Mac OS uses pip to install pandas prompt cannot install ‘numpy’ solution
- ImportError: No module named pil
- VirtualBox: shared folder error unknown filesystem type vboxsf
- Python Importerror: DLL load failed: unable to find the specified module