simulxxx
simulxxx
Explore posts from servers
RRailway
Created by simulxxx on 1/26/2024 in #✋|help
getting libcairo not found
i tried setting both of these... but no dice: NIXPACKS_APT_PKGS=libcairo2,libcairo2-dev NIXPACKS_PKGS= cairo i still get this in my logs: when i run sudo apt install libcairo2 and libcairo2-dev on jammy... everything works in my build should i just stick that in the run command? seems hacky
import cairosvg
File "/opt/venv/lib/python3.8/site-packages/cairosvg/__init__.py", line 26, in <module>
from . import surface # noqa isort:skip
File "/opt/venv/lib/python3.8/site-packages/cairosvg/surface.py", line 9, in <module>
import cairocffi as cairo
File "/opt/venv/lib/python3.8/site-packages/cairocffi/__init__.py", line 47, in <module>
cairo = dlopen(
File "/opt/venv/lib/python3.8/site-packages/cairocffi/__init__.py", line 44, in dlopen
raise OSError(error_message) # pragma: no cover
OSError: no library called "cairo-2" was found
no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so.2': libcairo.so.2: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': libcairo.2.dylib: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'libcairo-2.dll': libcairo-2.dll: cannot open shared object file: No such file or directory.
import cairosvg
File "/opt/venv/lib/python3.8/site-packages/cairosvg/__init__.py", line 26, in <module>
from . import surface # noqa isort:skip
File "/opt/venv/lib/python3.8/site-packages/cairosvg/surface.py", line 9, in <module>
import cairocffi as cairo
File "/opt/venv/lib/python3.8/site-packages/cairocffi/__init__.py", line 47, in <module>
cairo = dlopen(
File "/opt/venv/lib/python3.8/site-packages/cairocffi/__init__.py", line 44, in dlopen
raise OSError(error_message) # pragma: no cover
OSError: no library called "cairo-2" was found
no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so.2': libcairo.so.2: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': libcairo.2.dylib: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'libcairo-2.dll': libcairo-2.dll: cannot open shared object file: No such file or directory.
18 replies
WWasp-lang
Created by simulxxx on 11/17/2023 in #🙋questions
alternative to openai
If I have an alternative "open AI compatible" API endpoint can I configure mage to use that instead? is all you need a completion endpoint? function calling too i assume
2 replies