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.
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?