Best way to run python 3.7 on Ubuntu 16.04 which comes with python 3.5

2.5k Views Asked by At

I would like to avoid backports, they always seem to mess up my packages.

So I was thinking tools like conda / virtualenv / maybe even docker can help. What's the most simple / cleanest way to work with python 3.7 on my system?

1

There are 1 best solutions below

0
Michael Benin On
sudo apt-get install python3.7

Docker is fine and so is virtualenv/virtualenvwrapper.

Pass in the -p to the binary if you're working with a virtual environment.