Installing PythonMagick on OS X
brew install boost
- will take a lot of time and make your Mac hotbrew install --with-magick-plus-plus imagemagick
cd <path_to_PythonMagick_source>
./configure --with-boost=<path_to_boost_root>
make
make install
python -c "import PythonMagick"
If PythonMagick build fails saying that it couldn't find -lboost_python
navigate to <path_to_boost_root>/lib/
, ln -s libboost_python-mt.dylib libboost_python.dylib
and run make again.
Tested on 10.6.8 with Python 2.6.7 (custom build). Should work with Lion running stock 2.7.
NOTE: Looks like I was too quick to call it done. The module imports but raises exceptions when used. Bummer.
@DWishR as of today, your solution still works, thanks.
PythonMagick-0.9.15
boost-1.62.0
boost-python-1.62.0
note:
brew install --with-magick-plus-plus imagemagick
gives warningWarning: imagemagick: this formula has no --with-magick-plus-plus option so it will be ignored!
but nevertheless it worked, thanks.