R
Railway2y ago
Argon

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:
https://docs.wand-py.org/en/latest/guide/install.html
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:
https://docs.wand-py.org/en/latest/guide/install.html
I've tried following the steps in the link, but it still doesn't work
5 Replies
Percy
Percy2y ago
Project ID: N/A
Argon
Argon2y ago
755b9377-178d-4b4d-9cc2-1357a4459901 Before adding the Nixpacks.toml file, I had this project deployed on Heroku with no issues Like during the free tier period
Argon
Argon2y ago
GitHub
GitHub - argo0n/AlexFlipNote_API: Forked over from AlexFlipNote API...
Forked over from AlexFlipNote API, made to function as normally as possible - GitHub - argo0n/AlexFlipNote_API: Forked over from AlexFlipNote API, made to function as normally as possible
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Argon
Argon2y ago
Ah I don't really get what you mean
Want results from more Discord servers?
Add your server