-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Electrum fails to start Raspberry Pi OS 10 Buster #8081
Comments
|
I installed from source via the tarball downloaded from python.org. I had trouble installing with apt-get. I tried That being said, I was able to correct the above issue by installing I'm sorry for opening this issue...I thought there might be a problem with the dependencies installation but I think this is unique to my configuration. I'm going to close the issue. |
You can install If this succeeds, remember to remove your custom python install , as it otherwise might interfere with the distro provided one! |
I have been continuing to try to get this working and I was hoping someone might be able to tell me where the logs are stored from any errors with launching electrum. I have properly installed all the dependencies and Python 3.8.15. However, when I try to launch electrum, I get the error,
Then I expanded the lines to include the version check:
And, after properly moving util.py and importing versiontuple, I still didn't generate any errors. But I get the error every time I try to launch electrum. Is there a log file somewhere that would hold the error messages generated from launch so I can look for some additional info? |
see https://electrum.readthedocs.io/en/latest/faq.html#how-to-enable-debug-logging You might get more logs with e.g.: diff --git a/electrum/crypto.py b/electrum/crypto.py
index 4b50d6825e..32d2be265c 100644
--- a/electrum/crypto.py
+++ b/electrum/crypto.py
@@ -58,7 +58,7 @@ try:
from Cryptodome.Cipher import ChaCha20 as CD_ChaCha20
from Cryptodome.Cipher import AES as CD_AES
except:
- pass
+ _logger.exception("")
else:
HAS_CRYPTODOME = True
@@ -76,7 +76,7 @@ try:
from cryptography.hazmat.backends import default_backend as CG_default_backend
import cryptography.hazmat.primitives.ciphers.aead as CG_aead
except:
- pass
+ _logger.exception("")
else:
HAS_CRYPTOGRAPHY = True
When testing that, have you used the same python interpreter that you are trying to run Electrum with? You might have multiple pythons installed. You can e.g. run |
I figured out that my IDE was using a different version of Python than when running electrum, as you suggested. I reflashed the card, started from scratch and used I didn't try your logging suggestions, but I did add some I think I'm just going to give up and install an older version of Electrum that was current when buster was current. That should be sufficient for my use case. |
I guess those are transitive dependencies through cryptography that are missing because you only manually copied files.
Unfortunately pyqt5 cannot be easily pip installed in your case as PyPI only has x86_64 pre-built wheels for it (and source ofc). Lines 31 to 35 in 8995a3e
related: #5159 |
Anyway I guess there is not much we can do about this issue, so I will close it. |
I'm trying to run Electrum 4.3.2 on a Raspberry Pi 4 running RPi OS 10 / buster. I know this is an old OS version but I need to use it for another part of this project that will eventually be run on an RPi Zero. I've upgraded Python to 3.8.15, installed all dependencies per electrum.org and am trying to run Electrum without installing. I get the following errors whenever I try to launch it:
Before trying it with Python 3.8.15, I also tried it with 3.11.0 with exactly the same result. Is there an easy fix here or is it just not possible to run current Electrum on the older OS?
The text was updated successfully, but these errors were encountered: