小编pic*_*olo的帖子

如何使python3.7成为默认值

我已经安装了 python3.7,但是我不确定如何使它成为默认的 python。

见下文:

~/Documents/robosuite$ python3.7
Python 3.7.1 (default, Oct 22 2018, 11:21:55) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
KeyboardInterrupt
>>> 

~/Documents/robosuite$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
Run Code Online (Sandbox Code Playgroud)

我希望在使用命令时显示 python3.7 python3

python python3

20
推荐指数
2
解决办法
5万
查看次数

标签 统计

python ×1

python3 ×1