![](/img/trans.png)
[英]I have 2 versions of python installed, but cmake is using older version. How do I force cmake to use the newer version?
[英]How do I open an earlier version of python when the newer version is installed and the default?
我的计算机(Linux OS)上安装了Python 2.7和2.4。
如果我只输入“python”作为我的命令,则打开2.7版本。 我有一个我下载的脚本只与python 2.4兼容。 如何让python 2.4运行而不是2.7?
通常Python安装时可执行文件中的版本号和默认的python
; 只需使用版本化名称:
python2.7
python2.4
只有主要版本和次要版本是版本名称的一部分,而不是微型版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.