Post
Topic
Board Electrum
Topic OP
Electrum-ltc does not start (Archlinux - AUR) - ModuleNotFoundError ...
by
chance01
on 11/06/2024, 10:31:43 UTC
Operating system: Archlinux (CachyOS) -> installed from the AUR -> electrum-ltc (4.2.2.1-5)

Hello,

Electrum-ltc can be installed, but then does not start.

When I try it via the console, the following message appears:

Code:
❯ electrum-ltc
E | daemon.Daemon | GUI raised exception: ModuleNotFoundError("No module named 'distutils'"). shutting down.
E | __main__ | daemon.run_gui errored
Traceback (most recent call last):
  File "/usr/bin/electrum-ltc", line 426, in handle_cmd
    d.run_gui(config, plugins)
  File "/usr/lib/python3.12/site-packages/electrum_ltc/daemon.py", line 625, in run_gui
    gui = __import__('electrum_ltc.gui.' + gui_name, fromlist=['electrum_ltc'])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/electrum_ltc/gui/qt/__init__.py", line 65, in <module>
    from .main_window import ElectrumWindow
  File "/usr/lib/python3.12/site-packages/electrum_ltc/gui/qt/main_window.py", line 101, in <module>
    from .update_checker import UpdateCheck, UpdateCheckThread
  File "/usr/lib/python3.12/site-packages/electrum_ltc/gui/qt/update_checker.py", line 7, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

Unfortunately, I can't do anything with it!

Even if I enter one or two terms from the error message into the search engine, it hasn't helped me so far.

Somewhere, but I think it was in an Ubuntu forum, I read that it has something to do with two different versions of Python and with the fact that Electrum (BTC) is installed in parallel, which is also the case for me. Electrum (BTC) is still running, though.

Is there a Linux specialist here who can do something with this error message?

Another problem: To get around the problem, I downloaded the Appimage version of electrum-ltc and integrated it into the system using the Appimagelauncher.
Result:
Electrum-ltc only starts the first time, then no longer!
So there's a problem there too!