Синтаксическая ошибка: несколько типов исключений должны быть заключены в круглые скобки при установке черепахи. ⇐ Python

Программы на Python
Anonymous
Синтаксическая ошибка: несколько типов исключений должны быть заключены в круглые скобки при установке черепахи.

Сообщение Anonymous »

Код: Выделить всё

PS C:\Users\Lenovo\Desktop\khurram> pip install turtle
Defaulting to user installation because normal site-packages is not writeable
Collecting turtle
Using cached turtle-0.0.2.tar.gz (11 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in 
File "", line 34, in 
File "C:\Users\Lenovo\AppData\Local\Temp\pip-install-p9y4gakw\turtle_c9e4338b26474ea7b22fce8c06a69ff1\setup.py", line 40
except ValueError, ve:
^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Я пытаюсь избавиться от этой проблемы уже две недели, но ничего не получается. Я пробовал все возможные способы изменения пути, виртуальной среды и другие способы, которые я видел в Интернете, пожалуйста, помогите мне разобраться в этой проблеме


Подробнее здесь: https://stackoverflow.com/questions/751 ... ing-turtle

Вернуться в «Python»