2017-08-22 90 views
0

我嘗試安裝turttle軟件包,命令「python setup.py egg_info」失敗,錯誤代碼1在C: Users kadjo AppData Local Temp pip-build-p_nzw4hf turtle

C:\WINDOWS\system32>pip install turtle 
Collecting turtle 
Using cached turtle-0.0.2.tar.gz 
Complete output from command python setup.py egg_info: 
    Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
    File "C:\Users\kadjo\AppData\Local\Temp\pip-build-p_nzw4hf\turtle\setup.py", line 40 
    except ValueError, ve: 
         ^
    SyntaxError: invalid syntax 

回答

0

turtle是舊的(2009年最後更新);它肯定只有Python2。

對於except ValueError, ve:,SyntaxError意味着您正在嘗試使用Python3進行安裝。要使用烏龜,你當然需要Python 2.7。

相關問題