Installing ImageMagick for a Python project

Hello, I'm trying to deploy a Python Flask image generation server, which requires ImageMagick for the Wand package. I've tried various methods to install ImageMagick but it's not been working. Even though the build logs say that ImageMagick was installed, during deployment Python produces this error:
File "/opt/venv/lib/python3.8/site-packages/wand/api.py", line 178, in <module>
raise ImportError('MagickWand shared library not found.\n'
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:

I've tried following the steps in the link, but it still doesn't work
Before adding the Nixpacks.toml file, I had this project deployed on Heroku with no issues
Like during the free tier period
UUUnknown User4/22/2023
Message Not Public
Sign In & Join Server To View
Ah I don't really get what you mean

Looking for more? Join the community!

Recommended Posts
Potential bug with MySQLHey guys, I tried creating a few tables in mysql. Here is how I did it. CREATE TABLE users( userNo red highlights for errors in my logs !cb8e8798-6fa0-4eba-af04-1ce43b2615e0docker nginx port forwardingso i built and deployt an nginx dockerfile on railway this one: https://github.com/Wenish/vland-porCan nixpack config path be configured on railway.toml?Hi! Can nixpack config path be configured on railway.toml? For example I would like to set migrationMy Redis is an auto-set keyMy Redis is an auto-set key. Pls, check for mebug crashed proyectMy project is deployed and it works fine, I had a server crash, I click the restart button and the aMySQL Connection not available.this error wasn't showing up much but lately it started getting a bit more and usually restarting thhow to use appwriteanyone know how to use https://appwrite.io/ in railwayLogin from terminal not working?When I try "railway login" or "railway login --browserless" from the terminal, I get error: "ResponsPossibility to specify service during `railway up`As subject states, is it possible to specify target service during `railway up` to avoid interactiveRailway not upgrading?I use the Homebrew installation. I've been updating my packages via 'brew update' and 'brew upgrade'React with router getting 404I know it's a common knowledge where SPAs are getting 404 if used in combination with routing solutidrop table isnt workingHey, Im trying to drop a table from my sql db using the query tab and it just keeps loading then faiProblem deploying an Node appI'm trying to deploy a fullstack app, but it's my first time and I don't know what I'm doing wrongDB memory ever increasingHi, 1. What's the actual instance size of the DB on AWS? Right now our DB is nearing 500MB in memorDelete PostgreSQL table titled "User"prob wasnt a good idea to make it in the first place