Hi everybody!
I could successfully compile and run the slackbuilds.org Electrum version 3.3.8. Today, I've tried to upgrade to the last available version 4.0.2 not yet on slackbuilds.org.
I could successfully compile and install the new 4.0.2 version, but I can only succesfully run it launching the
./run_electrum script from the source directory:
Code:
fourstrings@darkstar:/tmp/SBo/Electrum-4.0.2$ ./run_electrum
Instead, running the "/usr/bin/electrum" script, one gets the following error message:
Code:
fourstrings@darkstar:~$ /usr/bin/electrum
Traceback (most recent call last):
File "/usr/bin/electrum", line 84, in <module>
from electrum.logging import get_logger, configure_logging
File "/usr/lib/python3.7/site-packages/electrum/__init__.py", line 16, in <module>
from .wallet import Wallet
File "/usr/lib/python3.7/site-packages/electrum/wallet.py", line 65, in <module>
from .storage import StorageEncryptionVersion, WalletStorage
File "/usr/lib/python3.7/site-packages/electrum/storage.py", line 36, in <module>
from .wallet_db import WalletDB
File "/usr/lib/python3.7/site-packages/electrum/wallet_db.py", line 36, in <module>
from .invoices import PR_TYPE_ONCHAIN, Invoice
File "/usr/lib/python3.7/site-packages/electrum/invoices.py", line 10, in <module>
from .lnaddr import lndecode, LnAddr
File "/usr/lib/python3.7/site-packages/electrum/lnaddr.py", line 11, in <module>
import bitstring
ModuleNotFoundError: No module named 'bitstring'
If I
diff the "
run_electrum" script and the "
/usr/bin/elecrum" I get:
Code:
fourstrings@darkstar:/tmp/SBo/Electrum-4.0.2$ diff run_electrum /usr/bin/electrum
1c1
< #!/usr/bin/env python3
---
> #!/usr/bin/python3
So I tried to edit the row in
/usr/bin/electrum to match the corresponding one in
run_electrum.
Despite that I get the same error message!
It isn't a big problem since I can use the new version from the source directory, but my question is: "could that issue be solved easily?".