Inkscape.org
Beginners' Questions Can't save Optimazed Svg
  1. #1
    bogdan karpus bogdan karpus @bigkrp

    Her trace output:

    Traceback (most recent call last):
      File "/app/share/inkscape/extensions/output_scour.py", line 11, in <module>
        from packaging.version import Version
    ModuleNotFoundError: No module named 'packaging'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/app/share/inkscape/extensions/output_scour.py", line 13, in <module>
        raise inkex.DependencyError(
    inkex.utils.DependencyError: Failed to import module 'packaging'.
    Please make sure it is installed (e.g. using 'pip install packaging'
    or 'sudo apt-get install python3-packaging') and try again.

     

    Version `Inkscape 1.2.1 (9c6d41e410, 2022-07-14)`, Fedora 36

    I have already installed python 3.10

  2. #2
    bogdan karpus bogdan karpus @bigkrp

    Also I tried to install `packaging` as this traceback recomends and I found that `packaging` already installed

    pip install packaging
    Defaulting to user installation because normal site-packages is not writeable
    Requirement already satisfied: packaging in /usr/lib/python3.11/site-packages (21.3)
    Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.11/site-packages (from packaging) (3.0.9)