Installing Python 3.6 on Ubuntu 16.04
- install add-apt-repository
apt-get install software-properties-common
- now add repository for Python 3.6
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6 libpython3.6-dev
apt remove python2.7
rm /usr/bin/python3
ln -s /usr/bin/python3.6 /usr/bin/python3
- pip
apt install python3-pip
python3 -m pip install -U pip setuptools
- Say Steem
error:
src/scrypt.c:27:20: fatal error: Python.h: No such file or directory
This can be avoided by
apt-get install libpython3.6-dev
- Installing steem libraries etc
python3 -m pip install -U pip setuptools steem numpy
pip3 install -U setuptools
if setuptools are not found or needs upgrade
apt -y install software-properties-common
pip3 install -U setuptools
add-apt-repository -y ppa:jonathonf/python-3.6
apt update ; apt -y install python3.6 libpython3.6-dev python3-pip
rm -f /usr/bin/python3 ; ln -s /usr/bin/python3.6 /usr/bin/python3
pip3 install -U setuptools
python3 -m pip install -U pip steem numpy
vim /usr/local/lib/python3.6/dist-packages/steem-0.18.103.dist-info/METADATA