Skip to content

Cario install problem -- undefined symbol: cairo_svg_surface_set_document_unit #148

@Moribund7

Description

@Moribund7

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.

import cairo
Traceback (most recent call last):
File "", line 1, in
File "/home/filip/anaconda3/lib/python3.7/site-packages/cairo/init.py", line 1, in
from ._cairo import * # noqa: F401,F403
ImportError: /home/filip/anaconda3/lib/python3.7/site-packages/cairo/_cairo.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cairo_svg_surface_set_document_unit

Installation end without any error.

Thanks for any help,
Filip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions