Replies: 1 comment 1 reply
-
|
Thanks for the report! We support some common system libraries but not yet this one. We are evaluating what to do in this case, it seems this library might be heavyweight, used for the UI in Linux, and we are also considering what would happen if there are version mismatches, etc. We have this tracked internally to consider what would be the best way to do it. We'll also consider if there could be any alternatives as well that could work better. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Example Code
Description
This project (without the
__name__ == "__main__"part) can be deployed successfully on FastAPI Cloud, but the problem is that FastAPI Cloud doesn't allow the use of system libraries, so you get this error:[Jan 30 12:20:34] OSError: cannot load library 'libgobject-2.0-0': libgobject-2.0-0: cannot open
[Jan 30 12:20:34] shared object file: No such file or directory. Additionally,
[Jan 30 12:20:34] ctypes.util.find_library() did not manage to locate a library called
[Jan 30 12:20:34] 'libgobject-2.0-0'
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.128.0
Pydantic Version
2.12.5
FastAPI CLI Version
FastAPI CLI version: 0.0.20
Python Version
Python 3.14.0
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions