cssselect module not present
Testing on Inkscape 1.1 (Mac) with latest extensions from Master, I'm unable to get any (that I have tried) to work.
The tracebacks end in
File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex/styles.py", line 30, in <module>
import cssselect
ModuleNotFoundError: No module named 'cssselect'
Testing with pytest (python 3.9) on the CLI, it ends in 173 errors in 8.31s
, typically:
[...]import inkex
inkex/__init__.py:15: in <module>
from .extensions import *
inkex/extensions.py:33: in <module>
from .elements import load_svg, BaseElement, ShapeElement, Group, Layer, Grid, \
inkex/elements/__init__.py:9: in <module>
from ._base import SVG_PARSER, load_svg, ShapeElement, BaseElement
inkex/elements/_base.py:34: in <module>
from ..styles import Style, AttrFallbackStyle, Classes
inkex/styles.py:30: in <module>
import cssselect
E ModuleNotFoundError: No module named 'cssselect'
I can make extensions pass tests (or, at least some of them) by installing cssselect with pip, though this obviously does not make it possible to test an extension within Inkscape itself.
Edited by Windell Oskay