Author

Topic: Can't install / uninstall Electrum. (Read 224 times)

legendary
Activity: 3710
Merit: 1586
November 13, 2019, 01:11:03 PM
#5
edit: the tilde is not optional. It's ~/.local/bin/electrum not /.local/bin/electrum. The tilde signifies that the files are located in your home directory. / OTOH is the root filesystem.
newbie
Activity: 9
Merit: 4
November 12, 2019, 03:39:23 PM
#4
Thanks for the reply Jackg.

That re-run of the installation certainly seems to have done something as I now have it running from the file in /.local/bin/.
Electrum directories present - installation appears complete

Thank you for the contribution and interest.


copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 12, 2019, 01:22:34 PM
#3
From the website it seems to suggest those two commands and I installed it recently and it worked fine (I don't think I got an icon though, i just kept booting it with ./electrum)

Code:
sudo apt-get install python3-setuptools python3-pip
python3 -m pip install --user Electrum-3.3.8.tar.gz[fast]

This thinks your version of electrum is already installed:

Code:
Successfully built Electrum
Installing collected packages: Electrum
  Found existing installation: Electrum 3.3.8
    Uninstalling Electrum-3.3.8:
Successfully uninstalled Electrum-3.3.8
    Successfully installed Electrum-3.3.8   

I'm guessing there's a catch somewhere that's suggesting it's already installed and stopping the program from running.

I tried the option "Run without installing" on the Electrum web site - worked perfectly.

Probably won't be a dependency issue,



If you run it again and still don't get anywhere, I'd suggest trying to install the appimage instead.
newbie
Activity: 9
Merit: 4
November 12, 2019, 12:10:12 PM
#2
A bit more information..........................

I tried the option "Run without installing" on the Electrum web site - worked perfectly.

Then I ran install again.

sudo apt-get install python3-setuptools python3-pip
python3 -m pip install --user Electrum-3.3.8.tar.gz[fast]

I'm sure the python installation command is working correctly.
Problem seems to lie with the Electrum installation command as, amongst other things, the Electrum icon has still not re-appeared.

Hope this helps.
newbie
Activity: 9
Merit: 4
November 12, 2019, 10:41:43 AM
#1
Hardware :- Acer Aspire 7740G laptop.         OS :- Ubuntu 19.04


Intention here is to have a fresh installation of Electrum on my laptop.
I cleared ALL references to Electrum from the Home directory and did a fresh system installation of Ubuntu 19.04

I did a fresh Electrum 3.3.8 installation from the website - no errors reported.

I noticed there was no Electrum icon, no Electrum 3.3.8 sub-directory and no .electrum sub directory.

I tried "/.local/bin/electrum" in terminal and got the reply :-  No such file or directory. (The file / directories ARE present)

No Electrum

I tried a re-install and got.................................

jrm@jrm-Aspire-7740:~$ python3 -m pip install --user Electrum-3.3.8.tar.gz[fast]
Processing ./Electrum-3.3.8.tar.gz
Requirement already satisfied: aiohttp>=3.3.0 in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (3.6.1)
Requirement already satisfied: aiohttp_socks in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (0.2.2)
Requirement already satisfied: aiorpcx<0.19,>=0.18 in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (0.18.3)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from Electrum==3.3.8) (2018.8.24)
Requirement already satisfied: dnspython in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (1.16.0)
Requirement already satisfied: ecdsa>=0.13 in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (0.13.2)
Requirement already satisfied: jsonrpclib-pelix in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (0.4.0)
Requirement already satisfied: protobuf in /usr/lib/python3/dist-packages (from Electrum==3.3.8) (3.6.1)
Requirement already satisfied: pyaes>=0.1a1 in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (1.6.1)
Requirement already satisfied: qdarkstyle<2.7 in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (2.6.8)
Requirement already satisfied: qrcode in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (6.1)
Requirement already satisfied: pycryptodomex in ./.local/lib/python3.7/site-packages (from Electrum==3.3.8) (3.9.0)
Requirement already satisfied: multidict<5.0,>=4.5 in ./.local/lib/python3.7/site-packages (from aiohttp>=3.3.0->Electrum==3.3.8) (4.5.2)
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3/dist-packages (from aiohttp>=3.3.0->Electrum==3.3.8) (3.0.4)
Requirement already satisfied: async-timeout<4.0,>=3.0 in ./.local/lib/python3.7/site-packages (from aiohttp>=3.3.0->Electrum==3.3.8) (3.0.1)
Requirement already satisfied: yarl<2.0,>=1.0 in ./.local/lib/python3.7/site-packages (from aiohttp>=3.3.0->Electrum==3.3.8) (1.3.0)
Requirement already satisfied: attrs>=17.3.0 in ./.local/lib/python3.7/site-packages (from aiohttp>=3.3.0->Electrum==3.3.8) (19.1.0)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from qrcode->Electrum==3.3.8) (1.12.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl<2.0,>=1.0->aiohttp>=3.3.0->Electrum==3.3.8) (2.6)
Building wheels for collected packages: Electrum
  Running setup.py bdist_wheel for Electrum ... done
  Stored in directory: /home/jrm/.cache/pip/wheels/25/1d/54/2e2e33fc2da3e0cc0205d592464ea2a7b13a0c5b0d9cfd03ce
Successfully built Electrum
Installing collected packages: Electrum
  Found existing installation: Electrum 3.3.8
    Uninstalling Electrum-3.3.8:
Successfully uninstalled Electrum-3.3.8
    Successfully installed Electrum-3.3.8   

Tells me it's successfully installed so I tried uninstalling Electrum...........................

jrm@jrm-Aspire-7740:~$ sudo pip3 uninstall Electrum 3.3.8
The directory '/home/jrm/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Uninstalling Electrum-3.3.8:
  Would remove:
    /home/jrm/.local/bin/electrum
    /home/jrm/.local/lib/python3.7/site-packages/Electrum-3.3.8.dist-info/*
    /home/jrm/.local/lib/python3.7/site-packages/electrum/*
    /home/jrm/.local/lib/python3.7/site-packages/home/jrm/.local/share/applications/electrum.desktop
    /home/jrm/.local/lib/python3.7/site-packages/home/jrm/.local/share/icons/electrum.png
Proceed (y/n)? y
  Successfully uninstalled Electrum-3.3.8
Skipping 3.3.8 as it is not installed.                       

I found another "uninstall command line" and tried that......................................
jrm@jrm-Aspire-7740:~$ python3 /usr/lib/python3/dist-packages/pip uninstall electrum
Skipping electrum as it is not installed.

I am stumped as to why the 'fresh' installation did not work in the first place.

Anyone see where I'm going wrong ?
Jump to: