Bitcoin Forum
November 08, 2024, 10:56:01 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Unable to upgrade Electrum 3.2.2 from 3.1.3 on Ubuntu 14.0.4 / VirtualBox  (Read 466 times)
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
July 22, 2018, 02:00:51 AM
 #21

I would suggest you really need to update your version of Python then... however, it looks like Python3.5 may not be to friendly with Ubuntu 14.04 (https://askubuntu.com/a/682875), so you need to be careful with how you do this.

You can follow some of the suggestions there... or maybe consider setting up an Ubuntu 16.04 virtual machine (that comes with a higher version of Python pre-installed) see the bottom answer: https://askubuntu.com/a/882723

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


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

Activity: 51
Merit: 14


View Profile
July 22, 2018, 04:47:05 PM
 #22

I would suggest you really need to update your version of Python then... however, it looks like Python3.5 may not be to friendly with Ubuntu 14.04 (https://askubuntu.com/a/682875), so you need to be careful with how you do this.
Seems complicated, but I'll try to work it out as soon as I get a chance. And get back to you to tell you the result. Thanks a lot for helping making clear that I still don't have 3.5 installed.

You can follow some of the suggestions there... or maybe consider setting up an Ubuntu 16.04 virtual machine (that comes with a higher version of Python pre-installed) see the bottom answer: https://askubuntu.com/a/882723
I can't remember if I have mentioned earlier that Ubuntu 14.04 is the last version that will run in VirtualBox 4.3.34, which is the last version that will run under MacOS 10.6.8. At least that's the way I understand it.
Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
July 23, 2018, 05:52:10 PM
 #23

I would suggest you really need to update your version of Python then... however, it looks like Python3.5 may not be to friendly with Ubuntu 14.04 (https://askubuntu.com/a/682875), so you need to be careful with how you do this.

Well, I found a few minutes, and for once it went like charm. I just had to run the commands in that thread in two steps, first:
Code:
sudo add-apt-repository ppa:deadsnakes/ppa
then:
Code:
sudo apt-get update
sudo apt-get install python3.5
So I figure that I now have 3.5 installed. Only Huh after this: the following discussion of symlinks (which I assume to mean aliases in my speech) seems to indicate that 3.4 will remain active. How will Electrum figure out which Python version to play with? Not that I'd like to fiddle about with any symlinks, after all those warnings (wouldn't know where to begin with anyway), but just out of curiosity...
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
July 27, 2018, 02:54:47 PM
 #24

You can simply try typing: python -V
And see what it says... You may need to use python3 or python35 to get it to run the 3.5 version...

Once you figure out the exact command needed to make python35 run, you can the use: pythoncommand spectrum

For instance: python35 electrum

That will start Electrum using the correct version of Python...

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


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

Activity: 51
Merit: 14


View Profile
August 02, 2018, 01:23:32 PM
 #25

Sorry to get back to you so late… This is what I'm getting:

"python -V": Python 2.7.6

"python3 -V": Python 3.4.3

"python35 -V":
No command 'python35' found, did you mean:
 Command 'python3m' from package 'python3-minimal' (main)
 Command 'python3' from package 'python3-minimal' (main)
python35: command not found


So I don't know where things are at. Thought I'd managed to get 3.5 installed?

Once you figure out the exact command needed to make python35 run, you can the use: pythoncommand spectrum
Sorry to have to somehow repeat myself, but I wouldn't know how to "figure out the right command needed..."
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 02, 2018, 02:58:29 PM
 #26

"python35 -V":
No command 'python35' found, did you mean:
 Command 'python3m' from package 'python3-minimal' (main)
 Command 'python3' from package 'python3-minimal' (main)
python35: command not found


So I don't know where things are at. Thought I'd managed to get 3.5 installed?

If you managed to successfully install it by sudo apt-get install python3.5, you do have python 3.5 installed.
You need to type python3.5 instead of python35.

So, this command:
Code:
python3.5 -V


Then you can open electrum with this python version by typing:
Code:
python3.5 electrum
inside the electrum directory


Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
August 05, 2018, 09:11:49 AM
 #27

Good, thanks a lot. So "python3.5 -V" gives Python 3.5.5.

However, when I enter "cd Electrum-3.2.2" (which is what I think I could understand from an earlier reply), I get:

bash: cd: Electrum-3.2.2: No such file or directory

But I do actually have 3.2.2 installed (and running, for that matter) Huh
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
August 06, 2018, 02:14:12 AM
 #28

The "cd" command (short for "change directory") will only look in the current directory if you don't pass it the full path... Depending on which directory you are in when you type "cd Electrum-3.2.2", then the system might not see that directory. It doesn't "search" your entire file system looking for it. So you need to know exactly where it is.

Where did you download and extract the Electrum-3.2.2.tar.gz file?


Also, apologies for the bad reply before... I was using my phone on a break at like 4am, and obviously didn't proofread the message before I sent it Tongue Roll Eyes

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


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

Activity: 51
Merit: 14


View Profile
August 06, 2018, 12:33:25 PM
 #29

Also, apologies for the bad reply before... I was using my phone on a break at like 4am, and obviously didn't proofread the message before I sent it Tongue Roll Eyes

Not a problem, I'm only too happy to find people willing to help! I'm working on the rest, will be back in a few minutes...
Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
August 06, 2018, 01:05:01 PM
 #30

Where did you download and extract the Electrum-3.2.2.tar.gz file?
I just cannot remember, it's all been very confused, over three weeks ago (posts 4 to 12 in this thread). Possibly, I downloaded it from the Mac interface, then moved it over to the Ubuntu desktop and unpacked it there. It got deleted afterwards.

The "cd" command (short for "change directory") will only look in the current directory if you don't pass it the full path... Depending on which directory you are in when you type "cd Electrum-3.2.2", then the system might not see that directory. It doesn't "search" your entire file system looking for it. So you need to know exactly where it is.
I tried to do some searches as best as I could with the terminal, this is what I got:

~$ locate electrum|grep bin
/usr/local/bin/electrum
~$ locate electrum 3.2.2|grep bin
/usr/local/bin/electrum


This is what I then found in that directory (sorry, I don't know how to upload a screenshot here). The dates stamps on all those files (July 13) except the last one (qr, = 2015) seem to indicate that they are those that were installed at the time, three weeks ago:

/usr/local/bin/easy_install
/usr/local/bin/easy_install-3.4
/usr/local/bin/electrum
/usr/local/bin/pip
/usr/local/bin/pip3
/usr/local/bin/pip3.4
/usr/local/bin/qr


But I do not know how to see the electrum file's version number. Anyhow, after this I tried these commands:

~$ cd /usr/local/bin/electrum
bash: cd: /usr/local/bin/electrum: Not a directory
~$ cd usr/local/bin/electrum
bash: cd: usr/local/bin/electrum: No such file or directory
~$ cd usr/local/bin/
bash: cd: usr/local/bin/: No such file or directory
~$ cd /usr/local/bin/
/usr/local/bin$ python3.5 electrum
Error: No module named 'dns'. Try 'sudo pip install <module-name>'
/usr/local/bin$


... from which I don't know where to go. As you see it's not really getting me very far...


bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 06, 2018, 01:52:27 PM
 #31

You might just simply download and unzip the file again. These 5 steps take about 1 or 2 minutes.


1) Open a console and navigate to the path you'd like to put electrum in.

2) Download electrum with this command:
Code:
wget https://download.electrum.org/3.2.2/Electrum-3.2.2.tar.gz

3) Unzip the file:
Code:
tar -xvzf Electrum-3.2.2.tar.gz 

4) Enter the directory:
Code:
cd Electrum-3.2.2/

5) Finally run electrum:
Code:
python3.5 electrum

Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
August 06, 2018, 02:06:20 PM
 #32

You might just simply download and unzip the file again. These 5 steps take about 1 or 2 minutes.
Sorry, I just don't understand. As said, at this point I do have 3.2.2 already installed and running as it it supposed to, so it's difficult for me to see the point.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 06, 2018, 02:15:52 PM
 #33

Sorry, I just don't understand. As said, at this point I do have 3.2.2 already installed and running as it it supposed to, so it's difficult for me to see the point.


According to this:

Where did you download and extract the Electrum-3.2.2.tar.gz file?
I just cannot remember, it's all been very confused, over three weeks ago (posts 4 to 12 in this thread). Possibly, I downloaded it from the Mac interface, then moved it over to the Ubuntu desktop and unpacked it there. It got deleted afterwards.


you are not able to find the directory. And this also is the reason that you can't start electrum. You just don't know where you put that file.
So you can either search your harddrive for the electrum folder and then simply run these 2 steps:

4) Enter the directory:
Code:
cd Electrum-3.2.2/

5) Finally run electrum:
Code:
python3.5 electrum

Or download it again, which takes 1 additional minute of your precious time, following all 5 steps.



Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
August 06, 2018, 03:44:29 PM
 #34

And this also is the reason that you can't start electrum.
I can only reiterate — again, again — that I now have Electrum 3.2.2 running, which, as most people might assume, implies that I can start it. Kindly peruse the thread over again, if you're still in doubt.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
August 06, 2018, 08:07:43 PM
 #35

If you already have it running... then I'm not sure what your current issue is? Huh

Why are you trying to use the "cd Electrum3.2.2." command? Were you just trying to follow the instructions on the Electrum website (and the ones given by bob123) and wondering why you got an error message? Huh


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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 07, 2018, 08:40:31 AM
 #36

I can only reiterate — again, again — that I now have Electrum 3.2.2 running

Since your initial problem was that you were unable to upgrade to 3.2.2, you might want to lock the thread now because everything is working as it should ?

If you somehow still believe that something is not working as intended, please give a detailed description of what you think should happen and what actually happens.
For me it seems like you don't have a clue what you are actually doing inside the terminal, and just believe to have an error because the output you see should be different according to google.

Josson (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 14


View Profile
August 08, 2018, 10:42:40 AM
 #37

If you already have it running... then I'm not sure what your current issue is? Huh
… … … … …

Gentlemen/-ladies,

First of all: apologies for not having a better perception of the fact that the attention span and historical memory of a tortoise are of one kind, and those of a moth another. Throughout this thread I have on several occasions tried to make two things clear:

1. that as the owner of an Electrum wallet and an older MacOS, I have by necessity no other viable alternative than that of running the Linux port of the application under Ubuntu on a virtual image exclusively dedicated to that;

2. that I am not at all familiar with the linguistics in use among Linux habitués. While the English language is only one of those I fuddle with, I did attempt to explain myself as clearly as possible in this particular tongue.

Thus, in post #13 of 16.07 (and again in #27), I stated that, thanks to the suggestions of either Abdussamad (https://bitcointalk.org/index.php?action=profile;u=85981) or HCP (https://bitcointalk.org/index.php?action=profile;u=867786), or most likely thanks to the suggestions of both of them, I had got 3.2.2 to work.

Then, in post #19 of 20.07, and again in #21, HCP (https://bitcointalk.org/index.php?action=profile;u=867786) — yes… that's you — recommended that I upgrade Python to v. 3.5. This is what everything on this thread has been dedicated to since then. Step by step, with some difficulties on my part, viz. the above about my understanding Linux Terminal lingo.

As by now I was fine with 3.2.2, one side of me (and of my household) has been inclined to drop the whole thread, thank you and good bye, yet another side was more than willing to listen respectfully to someone apparently knowledgeable who suggested that I didn't just leave Python at v. 3.4, or at v. 2.7.6 for that matter. Even if I couldn't see what I'd get out of upgrading to 3.5 in the short term.

So here we are, back to the last Terminal lines at post #30: 1. Python 3.5.5 installed; 2. don't know to have Electrum "catch" it (or vice-versa, to have 3.5.5 "catch" Electrum), if it is not already doing so; 3. don't know at this point whether it's useful or not.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
August 09, 2018, 10:03:31 AM
 #38

If you have Electrum 3.2.2 running, then it's probably best to just leave things as they are. The advice to upgrade to Python 3.5.5 was more to prevent any future issues with Electrum being unable to find required libraries etc.


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


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

Activity: 51
Merit: 14


View Profile
August 09, 2018, 03:24:34 PM
 #39

If you have Electrum 3.2.2 running, then it's probably best to just leave things as they are. The advice to upgrade to Python 3.5.5 was more to prevent any future issues with Electrum being unable to find required libraries etc.
Yes, future developments were also what I had in mind, but I guess I'll let it rest for now, as you suggest. And hope that the next update doesn't bring me back here right away. Thanks again, to you and Abdussamad.
Pages: « 1 [2]  All
  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!