Tutoriel N° 2d8
Install Python3.6.10 and electrum3.3.8 ubuntu 16.04
Work only with Python-3.6.10.tar.xz and only this version not higher
Create the shell script installation:
nano install_electrum_with_python_compilation.sh
#!/bin/bash
sudo apt install figlet
figlet python3.6 compilation
sleep 2
figlet electrum3.3.8 installation
sleep 5
wget https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tar.xz
xz -d Python-3.6.10.tar.xz
tar xvf Python-3.6.10.tar
cd Python-3.6.10
sudo apt-get update
sudo apt-get install libssl-dev -y
sudo apt-get install libxcb-xinerama0 -y
sudo apt-get install libreadline-gplv2-dev -y
sudo apt-get install libncursesw5-dev -y
sudo apt-get install libssl-dev -y
sudo apt-get install libsqlite3-dev -y
sudo apt-get install tk-dev -y
sudo apt-get install libgdbm-dev -y
sudo apt-get install libc6-dev libbz2-dev -y
./configure
sed -i '209,212 s/^#//' Modules/Setup
make &&
make test &&
sudo make install &&
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip -y
#sudo -H pip3 install --upgrade pip
sudo -H python3 -m pip install --upgrade pip
sudo -H python3 -m pip install PyQt5
wget https://download.electrum.org/3.3.8/Electrum-3.3.8.tar.gz
tar xzvf Electrum-3.3.8.tar.gz
echo " "
echo "To launch it immediatly"
echo "python3 Python-3.6.10/Electrum-3.3.8/run_electrum"
echo " "
sudo apt install figlet
figlet python3.6 compilation
sleep 2
figlet electrum3.3.8 installation
sleep 5
wget https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tar.xz
xz -d Python-3.6.10.tar.xz
tar xvf Python-3.6.10.tar
cd Python-3.6.10
sudo apt-get update
sudo apt-get install libssl-dev -y
sudo apt-get install libxcb-xinerama0 -y
sudo apt-get install libreadline-gplv2-dev -y
sudo apt-get install libncursesw5-dev -y
sudo apt-get install libssl-dev -y
sudo apt-get install libsqlite3-dev -y
sudo apt-get install tk-dev -y
sudo apt-get install libgdbm-dev -y
sudo apt-get install libc6-dev libbz2-dev -y
./configure
sed -i '209,212 s/^#//' Modules/Setup
make &&
make test &&
sudo make install &&
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip -y
#sudo -H pip3 install --upgrade pip
sudo -H python3 -m pip install --upgrade pip
sudo -H python3 -m pip install PyQt5
wget https://download.electrum.org/3.3.8/Electrum-3.3.8.tar.gz
tar xzvf Electrum-3.3.8.tar.gz
echo " "
echo "To launch it immediatly"
echo "python3 Python-3.6.10/Electrum-3.3.8/run_electrum"
echo " "
To execute this script:
sh install_electrum_with_python_compilation.sh
To launch it:
python3 Python-3.6.10/Electrum-3.3.8/run_electrum
Source:
https://electrum.org/#download
https://www.python.org/downloads/