Bitcoin Forum
May 21, 2024, 10:03:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 4.1.0: Two warning messages  (Read 232 times)
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
March 31, 2021, 09:43:51 PM
 #1

I use:

Debian 10, 64bit
Electrum 4.1.0 with all dependencies installed

I run Electrum without installing it and receive two warning messages. They are:

Code:
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.1) or chardet (4.0.0) doesn't match a supported version!
  RequestsDependencyWarning)
/home/username/electrum/packages/bitstring.py:36: DeprecationWarning: invalid escape sequence \
  """

I appreciate your help in solving the above.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 31, 2021, 10:48:32 PM
 #2

how did you install dependencies?
Coin-Keeper
Hero Member
*****
Offline Offline

Activity: 758
Merit: 606



View Profile
March 31, 2021, 11:39:46 PM
 #3

Might be related here.  I also use Debian 10 64 bit and the 4.1.0 AppImage won't start either.  Electrum 4.0.9 sitting right next to it fires up just fine!  I am not on a machine to use a terminal right now.  4.1.0 AppImage was simply tested by right clicking permissions and making the Image executable.

Thought I would put this on your thread since both of us are using Deb 10 64 bit.


FYI - the AppImage 4.1.0 checks out as GOOD via GPG verify!

BTC: 1PYSBbuKM3kW19xe9TXJQfq64rPhd8XorF
Staked and Verified: https://bitcointalk.org/index.php?topic=996318.msg17102755#msg17102755
Chikito
Legendary
*
Offline Offline

Activity: 2394
Merit: 2056



View Profile WWW
April 01, 2021, 12:03:06 AM
 #4

Code:
urllib3 (1.24.1) or chardet (4.0.0) doesn't match a supported version!

IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 01, 2021, 01:35:57 AM
 #5

how did you install dependencies?

By using Debian's default package manager
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 01, 2021, 01:37:53 AM
 #6

IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version

Do you use Debian 10, Debian Testing (Bullseye), Debian Sid or Debian at all when you made your statement?
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 01, 2021, 01:41:03 AM
 #7

Electrum 4.0.9 sitting right next to it fires up just fine!

Did you install Electrum 4.0.9 on Debian 10? I have never installed Electrum on Debian because the former can be run without installation as long as dependencies are installed via Debian's package manager.
Chikito
Legendary
*
Offline Offline

Activity: 2394
Merit: 2056



View Profile WWW
April 01, 2021, 02:38:25 AM
 #8

IMO, try reinstall urllib3 (1.24.1) to urllib3 with 1.24.3 version

Do you use Debian 10, Debian Testing (Bullseye), Debian Sid or Debian at all when you made your statement?

No, I don't, it just my opinion. As I know Debian 10 use Phyton 3.7 version with can be found with detail here


.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6752


bitcoincleanup.com / bitmixlist.org


View Profile WWW
April 01, 2021, 06:40:52 AM
 #9

how did you install dependencies?

By using Debian's default package manager

That explains things. Debian's packages are notorious for being out of date.

If just now you had installed the urllib3 and chardet (and any other dependencies) packages from APT, and you're sure no other program/library is using it, then uninstall them and use pip to install these dependencies, which should be the latest versions since Python 3.7 is still supported.

If pip is not installed, it's usually available in a package called python3-pip.

Once they're uninstalled from APT, remove any sub-dependencies of these dependencies using apt autoremove.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Coin-Keeper
Hero Member
*****
Offline Offline

Activity: 758
Merit: 606



View Profile
April 02, 2021, 11:44:51 PM
 #10

Might be related here.  I also use Debian 10 64 bit and the 4.1.0 AppImage won't start either.  Electrum 4.0.9 sitting right next to it fires up just fine!  I am not on a machine to use a terminal right now.  4.1.0 AppImage was simply tested by right clicking permissions and making the Image executable.

Thought I would put this on your thread since both of us are using Deb 10 64 bit.


FYI - the AppImage 4.1.0 checks out as GOOD via GPG verify!

Following up from the post above.  This is a PATH issue I am running into while running a Buster VM on VirtualBox.  If I place the 4.1.0 AppImage on a bare metal Debian Buster it fires right up every single time.  Maybe I will get time tomorrow to try and run down how to redirect the "search" for the needed qt files during mount of Electrum 4.1.0 via VirtualBox.

This is beyond me from my current remote location.  If anyone has a thought to try tomorrow I'll be back and give it a go.

Unrelated: you may recall that I had an issue with Trezor Suite AppImage as well.  I will also see if Suite fires up bare metal too.  Now I am starting to think it will.  Not available on my current machine!

BTC: 1PYSBbuKM3kW19xe9TXJQfq64rPhd8XorF
Staked and Verified: https://bitcointalk.org/index.php?topic=996318.msg17102755#msg17102755
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
April 03, 2021, 05:28:33 AM
 #11

Reproducible. Not an issue as Electrum won't run if it is a critical problem.

In your terminal, install pip and then upgrade requests.

Code:
sudo apt-get install python-pip3
pip3 install requests -U

Electrum uses requests-2.25.1 but Debian 10 doesn't have that.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 04, 2021, 08:09:29 AM
Last edit: April 04, 2021, 08:25:38 AM by tUnes3
 #12

Reproducible. Not an issue as Electrum won't run if it is a critical problem.

In your terminal, install pip and then upgrade requests.

Code:
sudo apt-get install python-pip3
pip3 install requests -U

Thanks for your suggestion but I do not wish to install pip because I do not want to install Electrum. The latter can be run without it being installed (https://electrum.org/#download). Since version 2 or 3 (I can't remember), I have been using Electrum without having installed it first.

Electrum uses requests-2.25.1 but Debian 10 doesn't have that.

Do you think Debian 11 (Bullseye) will have "requests-2.25.1"? If yes, I can wait for Debian 11 to become a stable release. It is only a few months from now.
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
April 04, 2021, 08:20:38 AM
 #13

Thanks for your suggestion but I do not wish to install pip because I do not want to install Electrum. The latter can be run without it being installed (https://electrum.org/#download)
Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

Do you think Debian 11 (Bullseye) will have "requests-2.25.1"? If yes, I can wait for Debian 11 to become a stable release. It is only a few months from now.

Yeah it will. If you prefer to not install anything, then this is probably the way to go.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 04, 2021, 08:30:36 AM
 #14

Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

By "utility", did you mean "pip"?

According to https://electrum.org/#download, the only dependencies that one needs to install are:

Code:
sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

I only need to install the following if I wish to install Electrum (https://electrum.org/#download):

Code:
python3-setuptools python3-pip

Yeah it will. If you prefer to not install anything, then this is probably the way to go.

Thanks for your clarification.
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 04, 2021, 08:35:32 AM
 #15

I would ignore such warning message if Electrum can run normally. In fact, many application (and even your OS) will show few warnings, but usually you can run it without facing any problem.

Thanks for your clarification and assurance.

urllib3 is most popular package (see https://hugovk.github.io/top-pypi-packages/). If you uninstall urllib3, many application/library will be removed as well and could break the OS.

Thanks for your warning about uninstalling "urllib3".

By "urllib3", did you mean "python3-urllib3" ? Debian 10 has a package called "python3-urllib3 (1.24.1-1)" but not "urllib3".
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
April 04, 2021, 11:17:45 AM
 #16

Electrum doesn't have to be installed. You're only installing the utility required to upgrade the package and also upgrade the package itself. But as I said, it'll be fine without upgrading as well.

By "utility", did you mean "pip"?

According to https://electrum.org/#download, the only dependencies that one needs to install are:

Code:
sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

I only need to install the following if I wish to install Electrum (https://electrum.org/#download):

Code:
python3-setuptools python3-pip
Yes. Requests is not a mandatory module to be installed. It's only required to get locale and an older version should work fine as well.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tUnes3 (OP)
Jr. Member
*
Offline Offline

Activity: 55
Merit: 4


View Profile
April 04, 2021, 05:46:50 PM
 #17

Yes. Requests is not a mandatory module to be installed. It's only required to get locale and an older version should work fine as well.

Thanks for your explanation about requests. I learned something new today  Smiley

By "locale", did you mean geolocation? I wouldn't want people whose servers I connect to know my exact physical location. (I know that information about bitcoin transactions are easily available on the public blockchain ledger.)
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
April 04, 2021, 10:37:45 PM
 #18

Thanks for your explanation about requests. I learned something new today  Smiley

By "locale", did you mean geolocation? I wouldn't want people whose servers I connect to know my exact physical location. (I know that information about bitcoin transactions are easily available on the public blockchain ledger.)
No, language packs that can be downloaded when compiling. Servers already knows your IP but Electrum will not transmit any details that sensitive like your location.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!