[Python] Trying to install turtle in cmd (python)

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    after i write pip install turtle in cmd, this message in pressented to me. anyone knows what to do??

    C:\>pip install turtle

    Collecting turtle
    Using cached turtle-0.0.2.tar.gz (11 kB)
    ERROR: Command errored out with exit status 1:
    command: 'C:\Users\Bruger\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Bruger\\AppData\\Local\\Temp\\pip-install-qv3xb6xg\\turtle\\setup.py'"'"'; __file__='"'"'C:\\Users\\Bruger\\AppData\\Local\\Temp\\pip-install-qv3xb6xg\\turtle\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Bruger\AppData\Local\Temp\pip-pip-egg-info-2tmj1fl2'
    cwd: C:\Users\Bruger\AppData\Local\Temp\pip-install-qv3xb6xg\turtle\
    Complete output (6 lines):
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\Bruger\AppData\Local\Temp\pip-install-qv3xb6xg\turtle\setup.py", line 40
    except ValueError, ve:
    ^
    SyntaxError: invalid syntax
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

    Continue reading...

Compartilhe esta Página