SyntaxError: multiple exception types must be parenthesized installing turtle
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.
i have been trying to get rid of this problem since two weeks but the results are nothing.i tried every possible way of changing path,virtual environment and others way which i have seen on internet please help me to sort out this problem