4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Installing Python 3.6 on Ubuntu 16.04

  1. install add-apt-repository

apt-get install software-properties-common

  1. 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

  1. pip

apt install python3-pip

python3 -m pip install -U pip setuptools

  1. 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

  1. Installing steem libraries etc

python3 -m pip install -U pip setuptools steem numpy

2 upvotes $0.00

Replies (3)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: