pycairo icon indicating copy to clipboard operation
pycairo copied to clipboard

Import Error [not found module cairo._cairo]

Open ice-rider opened this issue 1 year ago • 2 comments

from ._cairo import * # noqa: F401,F403

code raising import error beacouse it doesn't include file _cairo

i download lib using pip install pycairo and it make import error from ._cairo import * # noqa: F401,F403 ^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'cairo._cairo'

image

ice-rider avatar Jan 08 '25 07:01 ice-rider

version of python: Python 3.13.0 experimental free-threading build

ice-rider avatar Jan 08 '25 07:01 ice-rider

We don't provide wheels for the free-threaded CPython, so that seems expected.

Did you install pycairo with pip, or manually somehow?

lazka avatar Apr 07 '25 17:04 lazka