Skip to content

Instantly share code, notes, and snippets.

@psy0rz
Created March 5, 2016 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psy0rz/1151e50dc7517ea0e24f to your computer and use it in GitHub Desktop.
Save psy0rz/1151e50dc7517ea0e24f to your computer and use it in GitHub Desktop.
[root@volg ~]# python3.5
Python 3.5.1 (default, Jan 28 2016, 19:23:45)
[GCC 4.9.3] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import wand.image
Traceback (most recent call last):
File "/opt/local/lib/python3.5/site-packages/wand/api.py", line 179, in <module>
libraries = load_library()
File "/opt/local/lib/python3.5/site-packages/wand/api.py", line 134, in load_library
raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
OSError: cannot find library; tried paths: []
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/lib/python3.5/site-packages/wand/image.py", line 20, in <module>
from .api import MagickPixelPacket, libc, libmagick, library
File "/opt/local/lib/python3.5/site-packages/wand/api.py", line 205, in <module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html
>>> ^D
[root@volg ~]# pkgin install ImageMagick
calculating dependencies... done.
nothing to do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment