![](/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.