Installation Issue on Ubuntu 24.04
Closed this issue · 0 comments
I'm struggling to get it working on Ubuntu (24.04). I'm not very familiar with Python but can easily follow along with the instructions. It seems a number of dependencies are missing for me so not sure if that was supposed to handled by poetry or not? (after the initial install I get "No dependencies to install or update - so I assume no").
I've been able to install some of those using deb packages or pipx (I'll be honest - I don't remember the two packages) but now seem to be stuck when I run the ui version:
XXXXx@Desktop:~/NiimPrintX$ python3 -m NiimPrintX.ui Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/XXXX/NiimPrintX/NiimPrintX/ui/__main__.py", line 4, in <module> from NiimPrintX.ui.main import LabelPrinterApp File "/home/XXXX/NiimPrintX/NiimPrintX/ui/main.py", line 7, in <module> from .widget.TextTab import TextTab File "/home/XXXX/NiimPrintX/NiimPrintX/ui/widget/TextTab.py", line 6, in <module> from .TextOperation import TextOperation File "/home/XXXX/NiimPrintX/NiimPrintX/ui/widget/TextOperation.py", line 9, in <module> from devtools import debug ModuleNotFoundError: No module named 'devtools'
And the CLI version I'm stuck here:
XXXXx@Desktop:~/NiimPrintX$ python3 -m NiimPrintX.cli -v Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/XXXX/NiimPrintX/NiimPrintX/cli/__main__.py", line 1, in <module> from NiimPrintX.cli.command import niimbot_cli File "/home/XXXX/NiimPrintX/NiimPrintX/cli/command.py", line 4, in <module> from NiimPrintX.nimmy.bluetooth import find_device File "/home/XXXX/NiimPrintX/NiimPrintX/nimmy/bluetooth.py", line 2, in <module> from bleak import BleakClient, BleakScanner ModuleNotFoundError: No module named 'bleak'
I feel like I'm probably missing something fundamental so thought I would ask instead of waste more hours trying to troubleshoot. Is Python3 the problem?
Appreciate any thoughts you might have.