Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'traitsui.null' #6

Open
Roly83 opened this issue Apr 18, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'traitsui.null' #6

Roly83 opened this issue Apr 18, 2023 · 0 comments

Comments

@Roly83
Copy link

Roly83 commented Apr 18, 2023

hola me gusta mucho mayavi y estoy tratando de utilizarla y aprender todo lo que pueda sobre ella. Estoy realizando un proyecto que al convertirlo en un ejecutable para Windows me genera el siguiente error. Por favor si alguien pudiera ayudarme a resolverlo:

Traceback (most recent call last):
File "pyface\base_toolkit.py", line 219, in import_toolkit
File "importlib\metadata_init_.py", line 162, in load
File "importlib_init_.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'traitsui.null'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "Caver_Mapping3.py", line 14, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "mayavi\mlab.py", line 16, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "mayavi\tools\camera.py", line 24, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "mayavi\tools\engine_manager.py", line 13, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "mayavi\preferences\api.py", line 4, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "mayavi\preferences\preference_manager.py", line 29, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "traitsui\api.py", line 257, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "traitsui\editors_init
.py", line 16, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "traitsui\editors\api.py", line 96, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "traitsui\editors\code_editor.py", line 21, in
File "traitsui\editors\code_editor.py", line 32, in CodeEditor
File "traits\trait_factory.py", line 40, in call
File "traitsui\toolkit_traits.py", line 43, in ColorTrait
File "traitsui\toolkit.py", line 110, in toolkit
File "pyface\base_toolkit.py", line 294, in find_toolkit
File "pyface\base_toolkit.py", line 231, in import_toolkit
RuntimeError: No traitsui.toolkits plugin could be loaded for null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant