Installing Wand for Python

Hi,

I’m trying to use the Wand package for python.

https://docs.wand-py.org/en/0.6.11/

I imported it and it shows up in the packages. But it needs more libraries.

I get this error message:

ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.

Does anybody know how I can install those libraries?

Thanks a lot !

1 Like

Sadly, I don’t this package works on replit since you cannot install MagikWand in root, and I can think of no work around

2 Likes

I’m no expert in python, but bigminiboss forgot to tell you, Welcome to the community! :wave:

4 Likes

oops, yeah welcome :smiley:

3 Likes

Thank you for looking into it. Do you know of any other way to distort images with python?
I want to place designs on top of mugs and pillows. For that i need to distort it a bit to look realistic.

Thank you for welcoming me :slight_smile:

try after running in shell:

sed -i 's/];/  pkgs.imagemagick\n  &/'  replit.nix
1 Like

This works!

Thank you so much!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.