-
Notifications
You must be signed in to change notification settings - Fork 86
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
Cario install problem -- undefined symbol: cairo_svg_surface_set_document_unit #148
Comments
You somehow have an older cairo version now compared to when you build pycairo. |
I try uninstall pycairo and cairo and install it again, but still get the same error. |
you have to pass |
I don't know any way to tell pip to not cache build results and re-use them in a different environment. So not much we can do here -> closing. |
Hi I'm also facing the similar issue. import cairo I working on ubantu with pycairo-1.19.1 |
I am getting the same error. This is a new Linux laptop with fresh installs of everything including anaconda. |
Here is a workaround posted elsewhere: |
Same problem, and that worked for me. TL;DR: try pip3 install pycairo==1.11.1 |
This works but doesn't really solve the problem. A newer version should be expected to be back-compatible. |
Try pip install pycairo --no-cache --force --no-binary :all: |
It worked for me. PyGObject wasn't getting installed despite having Cairo. Using this command and replacing |
unresolved for me: |
@americapat I have the same problem as you. Did you find any solutions? |
same problems, I tried all the suggestions yet still failed |
I think I have got a possible answer, at least for me, some functions should be achieved both with Cairo and pyoject, yet the least version requires a version newer than 1.16 but perhaps the newest version of Cairo did not match PyObject well, and it might already abandon symbols like cairo_tee_surface_index, but some old software is still using it. ideally, all these stuff should be arranged simultaneously, but it turns out to be different in the reality |
In my practice, it is from Cairo-1.14.0, that cairo_svg_surface_set_document_unit was deleted Tests: New Features: Add Device #pr-45 Add Surface.get_device() #pr-45 Add ScriptDevice and ScriptMode #pr-46 Add ScriptSurface #17 Add Status.JBIG2_GLOBAL_MISSING Add Format.stride_for_width() Add TextClusterFlags and SurfaceObserverMode Add Gradient.get_color_stops_rgba() Add TeeSurface !! here !! Add TeeSurface !! here must be related to cairo_tee_surface_index or other cairo tee stuffs |
Hi,
I have problem with installing pycairo. I try follow instruction https://pycairo.readthedocs.io/en/latest/getting_started.html
but while trying import cairo i get this message:
Python 3.7.2 (default, Dec 29 2018, 06:19:36)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
Installation end without any error.
Thanks for any help,
Filip
The text was updated successfully, but these errors were encountered: