Skip to content

ImportError: cannot import name 'optparse' from 'inkex.deprecated' #137

@alecjprobst

Description

@alecjprobst

I am trying to use program with the example viruspcb.svg file but am running into this error when exporting:

Traceback (most recent call last): File "export.py", line 3, in <module> import inkex File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\__init__.py", line 21, in <module> from .deprecated import optparse ImportError: cannot import name 'optparse' from 'inkex.deprecated' (C:\Program Files\Inkscape\share\inkscape\extensions\inkex\deprecated\__init__.py)

I am using Inksccape 1.0 on Windows 11 Pro. I have made no modifications to any of the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions