在 新安装的 ubuntu 中执行 sudo apt-get install python 3.5 ,然后查询 python -V 显示 2.7 , python3 -V 显示 3.5.
但是想让 ubuntu sublimetext 用 python3.5 的语法怎么办。执行 sudo apt-get autoremove python ,完毕。
查询 python -V 还是现实 python2.7. python3 -V 显示 3.5 。而在 sublimetext 中新建一个 test.py 文件,输入:
print "hello wold";
print("hello world");
按 ctrl+b 都能通过,请问怎么干净去掉 python 2.7,让 ubuntu 和 sublimtext 只使用 python3.5.
但是想让 ubuntu sublimetext 用 python3.5 的语法怎么办。执行 sudo apt-get autoremove python ,完毕。
查询 python -V 还是现实 python2.7. python3 -V 显示 3.5 。而在 sublimetext 中新建一个 test.py 文件,输入:
print "hello wold";
print("hello world");
按 ctrl+b 都能通过,请问怎么干净去掉 python 2.7,让 ubuntu 和 sublimtext 只使用 python3.5.