Git Product home page Git Product logo

python-magickwand's People

Contributors

toofishes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-magickwand's Issues

Python doesn't find MagickWand

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.