Wand itself can be installed from PyPI using pip:
$ pip install Wand
Wand is a Python binding of ImageMagick, so you have to install it as well:
Wand yet doesn’t support ImageMagick 7 which has several incompatible APIs with previous versions. For more details, see the issue #287.
Or you can simply install Wand and its entire dependencies using the package manager of your system (it’s way convenient but the version might be outdated):
Install ImageMagick on Debian/Ubuntu¶
If you’re using Linux distributions based on Debian like Ubuntu, it can be easily installed using APT:
$ sudo apt-get install libmagickwand-dev
If you need SVG, WMF, OpenEXR, DjVu, and Graphviz support you have to install
libmagickcore5-extra as well:
$ sudo apt-get install libmagickcore5-extra
Install ImageMagick on Fedora/CentOS¶
If you’re using Linux distributions based on Redhat like Fedora or CentOS, it can be installed using Yum:
$ yum update $ yum install ImageMagick-devel
Install ImageMagick on Mac¶
$ brew install imagemagick
$ brew install imagemagick --with-liblqr
$ sudo port install imagemagick
If your Python in not installed using MacPorts, you have to export
MAGICK_HOMEpath 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
Install ImageMagick on Windows¶
You could build ImageMagick by yourself, but it requires a build tool chain
like Visual Studio to compile it. The easiest way is simply downloading
a prebuilt binary of ImageMagick for your architecture (
You can download it from the following link:
Choose a binary for your architecture:
- Windows 32-bit
- Windows 64-bit
Note that you have to check Install development headers and libraries for C and C++ to make Wand able to link to it.
Lastly you have to set
MAGICK_HOME environment variable to the path
of ImageMagick (e.g.
You can set it in .
Install Wand on Debian/Ubuntu¶
Wand itself is already packaged in Debian/Ubuntu APT repository: python-wand. You can install it using apt-get command:
$ sudo apt-get install python-wand
Install Wand on Fedora¶
Wand itself is already packaged in Fedora package DB: python-wand. You can install it using dnf command:
$ dnf install python-wand # Python 2 $ dnf install python3-wand # Python 3