1

I am trying to import PythonMagick but not able to import this module. Could you please help me how to install it and use it in my code?

I tried several methods-

python -m pip install PythonMagic
python -m pip install PythonMagic --user

I downloaded the Imagemagic and ghostscript and given their path in environment variable. But didn't get any solution.

Aniket Tiratkar
  • 798
  • 6
  • 16
Shivika Patel
  • 213
  • 1
  • 5
  • 14

2 Answers2

1

Try downloading whl file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick then install with python -m pip install <whl file>

0

Please note that PythonMagick is a boost.python library that requires Python 2.2. Unfortunately, it won't work with Python3 and newer. Most likely, it also won't work with Python 2.7.

Hagbard
  • 3,430
  • 5
  • 28
  • 64