• Members 2 posts
    Jan. 4, 2022, 5:34 p.m.

    Inkcut installs well (by pip3 install inkcut) but not starts with following error :

    cls = resolver.resolve(name)
    File "/usr/local/lib/python3.9/dist-packages/enaml/application.py", line 147, in resolve
    return factory()
    File "/usr/local/lib/python3.9/dist-packages/enamlx/qt/qt_factories.py", line 132, in table_view_factory
    from .qt_table_view import QtTableView
    File "/usr/local/lib/python3.9/dist-packages/enamlx/qt/qt_table_view.py", line 13, in <module>
    from enamlx.qt.qt_abstract_item_view import (
    File "/usr/local/lib/python3.9/dist-packages/enamlx/qt/qt_abstract_item_view.py", line 14, in <module>
    from qtpy import QT_API, PYSIDE_API, PYQT4_API
    ImportError: cannot import name 'PYSIDE_API' from 'qtpy' (/usr/local/lib/python3.9/dist-packages/qtpy/init.py)

    I have no idea, the dependences seems be satisfied, Google knows nothing.

  • Members 2 posts
    Jan. 4, 2022, 8:10 p.m.

    I had the same problem today. The solution is to use qtpy version 1.11.3: pip3 uninstall qtpy, pip3 install qtpy==1.11.3
    The legacy support for the qt4 api was dropped in version 2.0.0...

  • Members 2 posts
    Jan. 5, 2022, 4:35 a.m.

    It works.

  • Members 2 posts
    Jan. 13, 2022, 12:22 a.m.

    enamlx was updated, so it works with the current version of qtpy now. You can upgrade it with pip3 install qtpy --upgrade.

  • Members 8 posts
    Jan. 30, 2022, 1:25 a.m.

    Tried these suggestions. They did not work. Problem is malfunctioning Inkscape with Python enaml - at least in an Arch based install. There are things such as distutils being deprecated- (but oddly more than that- ruined as Google bootcamp changes Inkscape to look like an Android phone.) It is odd that on this forum there are instructions on how to install IInkcut on Windows 10 but little care that it is not working in Linux OS Distros. Windows users.... Inkcut was the only available HPGL interface for the USB serial bus and working for older hardware on Linux. Now Linux loses Inkcut functionality so it can run on Windows. Ironic.