tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
March 31, 2021, 09:43:51 PM |
|
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: /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
Activity: 3682
Merit: 1580
|
|
March 31, 2021, 10:48:32 PM |
|
how did you install dependencies?
|
|
|
|
Coin-Keeper
|
|
March 31, 2021, 11:39:46 PM |
|
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!
|
|
|
|
Chikito
Legendary
Offline
Activity: 2562
Merit: 2076
|
|
April 01, 2021, 12:03:06 AM |
|
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
|
|
|
|
tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
April 01, 2021, 01:35:57 AM |
|
how did you install dependencies?
By using Debian's default package manager
|
|
|
|
tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
April 01, 2021, 01:37:53 AM |
|
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
Activity: 56
Merit: 5
|
|
April 01, 2021, 01:41:03 AM |
|
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
Activity: 2562
Merit: 2076
|
|
April 01, 2021, 02:38:25 AM |
|
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
|
|
|
|
NotATether
Legendary
Offline
Activity: 1778
Merit: 7372
Top Crypto Casino
|
|
April 01, 2021, 06:40:52 AM |
|
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.
|
|
|
|
Coin-Keeper
|
|
April 02, 2021, 11:44:51 PM |
|
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!
|
|
|
|
ranochigo
Legendary
Offline
Activity: 3038
Merit: 4420
Crypto Swap Exchange
|
|
April 03, 2021, 05:28:33 AM |
|
Reproducible. Not an issue as Electrum won't run if it is a critical problem. In your terminal, install pip and then upgrade requests. sudo apt-get install python-pip3 pip3 install requests -U
Electrum uses requests-2.25.1 but Debian 10 doesn't have that.
|
|
|
|
tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
April 04, 2021, 08:09:29 AM Last edit: April 04, 2021, 08:25:38 AM by tUnes3 |
|
Reproducible. Not an issue as Electrum won't run if it is a critical problem. In your terminal, install pip and then upgrade requests. 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
Activity: 3038
Merit: 4420
Crypto Swap Exchange
|
|
April 04, 2021, 08:20:38 AM |
|
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.
|
|
|
|
tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
April 04, 2021, 08:30:36 AM |
|
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: 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): 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
Activity: 56
Merit: 5
|
|
April 04, 2021, 08:35:32 AM |
|
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. 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
Activity: 3038
Merit: 4420
Crypto Swap Exchange
|
|
April 04, 2021, 11:17:45 AM |
|
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: 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): 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.
|
|
|
|
tUnes3 (OP)
Jr. Member
Offline
Activity: 56
Merit: 5
|
|
April 04, 2021, 05:46:50 PM |
|
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 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
Activity: 3038
Merit: 4420
Crypto Swap Exchange
|
|
April 04, 2021, 10:37:45 PM |
|
Thanks for your explanation about requests. I learned something new today 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.
|
|
|
|
|