Ubuntu 20.04 faulty commands E: Unable to locate package python-pip
europound opened this issue · comments
sudo apt-get install python-pip python-dev libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev pandoc
[sudo] password for wallets:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
E: Unable to locate package python-pip
hello, it's almost 5y old script based on ubuntu 12.x .. to make it work with ubuntu 20.04+ i recommend you to use pyenv to install python 2.7.14 + pip
sudo apt install libssl-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev pandoc
curl https://pyenv.run | bash
echo 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)" ' >> ~/.bashrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
exec $SHELL
pyenv install 2.7.14
pyenv global 2.7.14
pip install setuptools --upgrade
pip install joblib
pip install pypandoc
pip install markdown
pip install rlp==0.6.0
pip install py_ecc==1.1.3
pip install ethereum==2.1.5
then it works fine