简体   繁体   中英

Installing python 3.5 on Linux Mint 17.3

I am very new to linux and want to use python as it is the language I am learning at school. I have looked online and checked my current version is 2.7 which is no good to me as I am learning python 3. However, I have heard that changing your systems python version can be very bad so I don't know what to do :(. Also, is there a way to use it like you can in windows such as opening the IDLE and opening a new shell to write your code in there, because all I can find on the internet is how to write code in python through the terminal which I do not want to do.

Thanks.

The default python3 in Mint17.3 is python3.4, and you can use ppa:fkrull to install python3.5.

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update; 
sudo apt-get install python3.5

First of all, you can install as many Python versions as you wish, that won't do anything bad for your OS. But changing the default Python interpreter may be not so good.

Secondly, you can use any IDE (such as PyCharm ) for coding or just use your favorite text editor and just run python your_file.py in the terminal.

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