简体   繁体   中英

How to upgrade python version on Ubuntu

I'm using Ubuntu 14.0.4. In my system I have installed Anaconda with python 2.7.14. Now I want to upgrade my python version & would like to use Python 3.6.3. So I followed the steps mentioned in below link

Update python on linux 2.7 to 3.5

But after doing this my python --version command is showing python 2.7.14. Can you suggest me how to upgrade?

It's a little bit tricky with Anaconda.

You need to do this within your Anaconda environment:

conda install python=3.6.3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM