Search code examples
pythonimagemagickpythonmagick

Error installing pythonmagick , ImportError: No module named PythonMagick


I am trying to install pythonmagick on OSX (High Sierra).

I followed DwishR's instructions here: https://gist.github.com/tomekwojcik/2778301 Downloaded pythonmagick from here: http://www.imagemagick.org/download/python/ Modified BOOST_ROOT=/usr/local/Cellar/boost/1.66.0/ and the make files.

See my install procedure here: https://gist.github.com/anonymous/d2eab85b89fd7be33efa40bf3cb1015e

However, you can see that pythonmagick is not working at the end. What did I do wrong?


Solution

  • Please check which python is used. It looks like you are using the system python which is not using /usr/local/lib/python2.7/site-packages/. You might want to install python2 with brew: brew install python@2.