benschweizer / python-magickwand Goto Github PK
View Code? Open in Web Editor NEWPython bindings for the ImageMagick MagickWand API
License: ISC License
Python bindings for the ImageMagick MagickWand API
License: ISC License
Hi, I'm configuring a RedHat 6.6, in my code I use MagickWand.
I've already installed ImageMagick by yum and the devel packs but when I try to run my code the following error apears:
Traceback (most recent call last):
File "/data/www/los-back/logenerator_services/services/main.py", line 9, in <module>
from file import file_upload_services
File "/data/www/los-back/logenerator_services/services/file/file_upload_services.py", line 12, in <module>
from wand.image import Image
File "/data/env/lib/python2.7/site-packages/wand/image.py", line 20, in <module>
from .api import MagickPixelPacket, libc, libmagick, library
File "/data/env/lib/python2.7/site-packages/wand/api.py", line 1278, in <module>
traceback.format_exc())
ImportError: MagickWand shared library not found or incompatible
Original exception was raised in:
Traceback (most recent call last):
File "/data/env/lib/python2.7/site-packages/wand/api.py", line 739, in <module>
ctypes.c_void_p] # PixelWand color
File "/opt/rh/python27/root/usr/lib64/python2.7/ctypes/__init__.py", line 373, in __getattr__
func = self.__getitem__(name)
File "/opt/rh/python27/root/usr/lib64/python2.7/ctypes/__init__.py", line 378, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib64/libMagickWand.so.2: undefined symbol: DrawSetBorderColor
Result for yum install ImageMagick:
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package ImageMagick-6.5.4.7-7.el6_5.x86_64 already installed and latest version
Nothing to do
And for pip install MagickWand:
/<path_to_project>/env/bin/pip install MagickWand
Requirement already satisfied (use --upgrade to upgrade): MagickWand in /data/env/lib/python2.7/site-packages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.