Problem:
When running many demos in enable/examples/demo/savage/, a ModuleNotFoundError will be resulted. For instance:
python3.11 enable/examples/demo/savage/button_demo.py
Traceback (most recent call last):
File "/Users/cyliu/.venvs/py311_test_2/lib/python3.11/site-packages/enable/savage/trait_defs/ui/toolkit.py", line 30, in _init_toolkit
__import__(backend)
ModuleNotFoundError: No module named 'enable.savage.trait_defs.ui.qt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/cyliu/Documents/3.11_test_2/enable/enable/examples/demo/savage/button_demo.py", line 16, in <module>
from enable.savage.trait_defs.ui.svg_button import SVGButton
File "/Users/cyliu/.venvs/py311_test_2/lib/python3.11/site-packages/enable/savage/trait_defs/ui/svg_button.py", line 15, in <module>
from .svg_button_editor import SVGButtonEditor
File "/Users/cyliu/.venvs/py311_test_2/lib/python3.11/site-packages/enable/savage/trait_defs/ui/svg_button_editor.py", line 17, in <module>
from enable.savage.trait_defs.ui.toolkit import toolkit_object
File "/Users/cyliu/.venvs/py311_test_2/lib/python3.11/site-packages/enable/savage/trait_defs/ui/toolkit.py", line 43, in <module>
_init_toolkit()
File "/Users/cyliu/.venvs/py311_test_2/lib/python3.11/site-packages/enable/savage/trait_defs/ui/toolkit.py", line 32, in _init_toolkit
raise ImportError(
ImportError: Unable to import a Savage backend for the qt toolkit.
How to replicate:
python enable/examples/demo/savage/button_demo.py
Environment:
MacOS, python3.11
Packages:
Package Version
chaco 5.1.1
enable 5.4.0.dev25
fonttools 4.39.3
kiwisolver 1.4.4
numpy 1.24.2
Pillow 9.5.0
pip 22.3.1
pyface 8.0.0
pygarrayimage 1.0
pyglet 2.0.5
pyparsing 3.0.9
PySide6 6.5.0
PySide6-Addons 6.5.0
PySide6-Essentials 6.5.0
reportlab 3.6.12
scipy 1.10.1
setuptools 65.6.3
shiboken6 6.5.0
traits 6.4.1
traitsui 7.4.3
Problem:
When running many demos in enable/examples/demo/savage/, a ModuleNotFoundError will be resulted. For instance:
How to replicate:
python enable/examples/demo/savage/button_demo.py
Environment:
MacOS, python3.11
Packages:
Package Version
chaco 5.1.1
enable 5.4.0.dev25
fonttools 4.39.3
kiwisolver 1.4.4
numpy 1.24.2
Pillow 9.5.0
pip 22.3.1
pyface 8.0.0
pygarrayimage 1.0
pyglet 2.0.5
pyparsing 3.0.9
PySide6 6.5.0
PySide6-Addons 6.5.0
PySide6-Essentials 6.5.0
reportlab 3.6.12
scipy 1.10.1
setuptools 65.6.3
shiboken6 6.5.0
traits 6.4.1
traitsui 7.4.3