Author

Topic: Electrum 3.3.4 issues on Qubes OS Fedora-29 (Read 109 times)

legendary
Activity: 3710
Merit: 1586
March 20, 2019, 08:43:52 AM
#5
the answer is in post #3 above if you care to read it.

edit: another option is to simply download the source tarball from electrum.org, untar it, cd into it and run ./run_electrum. you don't have to install. if this doesn't work then try adding the electrum directory and packages sub-directory to your pythonpath env variable first:

Code:
export PYTHONPATH="/path/to/electrum:/path/to/electrum/packages"

put this in your .bashrc and you won't have to do it every time.

The tarball approach won't work on outdated distros though because you won't have python 3.6 or pyqt compiled against python 3.6. So that's why the appimage was recommended.
newbie
Activity: 2
Merit: 0
Quote
Based on error message, looks like python can't download/get required dependency required by Electrum. Since Qubes OS is strict OS, i think you should make sure python3 can access internet properly.

You also can add --upgrade parameter when install electrum, i've seen few users solve similar problem by doing it

Code:
sudo python3 -m pip install Electrum-3.3.4.tar.gz#egg=electrum[fast] --upgrade

I solve this problem when I changed NetVM to Whonix (it was none). But now I face with next problem. I updated electrum at my TemplateVM and it works, but when I open electrum with my wallets at my AppVM it's still the old version. It has to update automatically. Does anybody got an answer?
legendary
Activity: 3710
Merit: 1586
See the instructions under linux here.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
What version of python3 are you running? Type python3 and look at what it says in the console. Apparently there's an issue when running the new version on versions before 3.7.x.

If yours is 3.6.x or lower. Try updating it first and then restart the process of updating to the newer electrum. The old electrum does still work though (I think, I haven't broadcast anything recently though).
newbie
Activity: 2
Merit: 0
Hello, I'm trying to update Electrum manually, because fedora-29 repo has an old version of Electrum. (Warning: Electrum versions older than 3.3 can no longer connect to public servers, and must be upgraded. This is in order to prevent user exposure to phishing messages. Do not download Electrum from any another source than electrum.org.)

I follow the instructions from electrum.org

I've installed all dependencies (sudo dnf install python3-pyqt5)

Then I'm trying to install electrum and use different commands, but they don't work well

There are commands below:

sudo python3 -m pip install Electrum-3.3.4.tar.gz[fast]

WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.

Requirement 'Electrum-3.3.4.tar.gz[fast]' looks like a filename, but the file does not exist

Processing ./Electrum-3.3.4.tar.gz

Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/home/user/Electrum-3.3.4.tar.gz'

2. sudo python3 -m pip install https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz#egg=electrum[fast]

WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.

Requirement already satisfied: electrum[fast] from https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz#egg=electrum[fast] in /usr/lib/python3.7/site-packages (3.2.4)

Requirement already satisfied: pyaes>=0.1a1 in /usr/lib/python3.7/site-packages (from electrum[fast]) (1.6.0)

Requirement already satisfied: ecdsa>=0.9 in /usr/lib/python3.7/site-packages (from electrum[fast]) (0.13)

Requirement already satisfied: requests in /usr/lib/python3.7/site-packages (from electrum[fast]) (2.20.0)

Requirement already satisfied: qrcode in /usr/lib/python3.7/site-packages (from electrum[fast]) (5.1)

Requirement already satisfied: protobuf in /usr/lib/python3.7/site-packages (from electrum[fast]) (3.5.0)

Requirement already satisfied: dnspython in /usr/lib/python3.7/site-packages (from electrum[fast]) (1.15.0)

Requirement already satisfied: jsonrpclib-pelix in /usr/lib/python3.7/site-packages (from electrum[fast]) (0.3.1)

Requirement already satisfied: PySocks>=1.6.6 in /usr/lib/python3.7/site-packages (from electrum[fast]) (1.6.Cool

Collecting pycryptodomex (from electrum[fast])

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycryptodomex/

Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycryptodomex/

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycryptodomex/

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycryptodomex/

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pycryptodomex/

Could not find a version that satisfies the requirement pycryptodomex (from electrum[fast]) (from versions: )

No matching distribution found for pycryptodomex (from electrum[fast])

3. sudo python3 -m pip install https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz

WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.

Collecting https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /3.3.4/Electrum-3.3.4.tar.gz

Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /3.3.4/Electrum-3.3.4.tar.gz

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /3.3.4/Electrum-3.3.4.tar.gz

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /3.3.4/Electrum-3.3.4.tar.gz

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /3.3.4/Electrum-3.3.4.tar.gz

Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='download.electrum.org', port=443): Max retries exceeded with url: /3.3.4/Electrum-3.3.4.tar.gz (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known'))



So I don't know what to do. Could anybody help me?
Jump to: