If you encounter some erros executing python like that:
Error: Electrum requires Python version >= 3.6.1
You need to install the last version of Python, you can get the last version here:
https://www.python.org/ftp/python/
Download and unzip:
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar xvf Python-3.7.2.tgz
Let’s compile now:
cd Python-3.7.2 ./configure --enable-optimizations make -j8 make altinstall python3.7