-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load CairoSVG in serverless program #402
Comments
Hi! Your problem is probably caused by missing system libraries. CairoSVG relies on libraries that can’t be installed using the Python package manager, so you have to install them. On Vercel, you should be able to do this following https://vercel.com/docs/deployments/build-image#installing-additional-packages The package you need to install is Cairo. |
hi, a looked a bit into logs and i tried using
and
but it didn't worked. The logs are same. Do you know the command to fix it? |
Could you please share |
and i found there logs:
|
Then I’m sorry, but I won’t be able to help you, I don’t know Vercel at all, and it’s definitely a problem with Vercel. If Cairo was installed, you wouldn’t have this error.
Looks like the commands you put in your dashbord are not applied. You should ask the Vercel community, there’s nothing we can do here for you :/. |
well now i remove someting and i get error that cairo is not found
|
Vercel CLI 32.2.4 here are logs |
@Mankifg Then you have to ask on Vercel forums how to install cairo. |
Hello, so im deploying my image api made in python flask with drawsvg, so the error is i can't install additonal packages in serverless ( or at least i don't know how), bellow are full logs, code is avalible here: https://github.com/Mankifg/LessApi , and this is my requirements.txt
and I am deploing in vercel. If you nead any more info please let me know.
Thanks
Logs:
The text was updated successfully, but these errors were encountered: