简体   繁体   English

在Mac OS上使用JGRASP时,如何更新Python版本?

[英]How can I update Python version when working on JGRASP on mac os?

当我安装新版本的python 3.6.5时,JGRASP使用的是先前版本,如何在JGRASP上使用新版本?

By default, jGRASP will use the first "python" on the system path. 默认情况下,jGRASP将在系统路径上使用第一个“ python”。

The new version probably only exists as "python3". 新版本可能仅以“ python3”的形式存在。 If that is the case, install jGRASP 2.0.5 Beta if you are using 2.0.4 or a 2.0.5 Alpha. 在这种情况下,如果您使用的是2.0.4或2.0.5 Alpha,请安装jGRASP 2.0.5 Beta。 Then, go to "Settings" > "Compiler Settings" > "Workspace", select language "Python" if not already selected, select environment "Python 3 (python 3) - generic", hit "Use" button, and "OK" the dialog. 然后,转到“设置”>“编译器设置”>“工作区”,选择语言“ Python”(如果尚未选择),选择环境“ Python 3(python 3)-通用”,单击“使用”按钮,然后单击“确定”对话框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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