old-knossos icon indicating copy to clipboard operation
old-knossos copied to clipboard

Module 'knossos.ui.hell' not found

Open thesourcehim opened this issue 3 years ago • 1 comments

I installed knossos to user directory using: python3 setup.py build python3 setup.py install --user --prefix=

When starting I get this error:

Traceback (most recent call last): File "/home/thesource/.local/bin/knossos", line 33, in sys.exit(load_entry_point('knossos==0.14.2.dev0+1f60d92', 'gui_scripts', 'knossos')()) File "/home/thesource/.local/bin/knossos", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib64/python3.10/importlib/metadata/init.py", line 162, in load module = import_module(match.group('module')) File "/usr/lib64/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/thesource/.local/lib/python3.10/site-packages/knossos-0.14.2.dev0+1f60d92-py3.10.egg/knossos/launcher.py", line 71, in from . import util, ipc, auto_fetch File "/home/thesource/.local/lib/python3.10/site-packages/knossos-0.14.2.dev0+1f60d92-py3.10.egg/knossos/ipc.py", line 29, in from .windows import ModInstallWindow File "/home/thesource/.local/lib/python3.10/site-packages/knossos-0.14.2.dev0+1f60d92-py3.10.egg/knossos/windows.py", line 29, in from .ui.hell import Ui_MainWindow as Ui_Hell ModuleNotFoundError: No module named 'knossos.ui.hell'

thesourcehim avatar Dec 07 '21 20:12 thesourcehim

Hi, sorry, missed the notification for this.

Which distro, distro version, and Python version are you using?

In case you happen to be using Ubuntu or Arch Linux, the instructions are easy: https://fsnebula.org/knossos/

Otherwise, there are some semi-outdated generic build instructions that should point you in the right direction: https://github.com/ngld/old-knossos/wiki/Building-instructions

The latter approach will likely require some trial and error. It's been a long time since I've set up Knossos on *nix.

The TL;DR is that once you have all of the dependencies, including the required Python packages, you can run

python3 configure.py

and then

ninja run

CC @ngld

jg18 avatar Dec 29 '21 01:12 jg18