Unable to install turtle library

Collecting turtle
  Downloading turtle-0.0.2.tar.gz (11 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status '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 "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-kqeytdhg/turtle_30ff1223e4c04c08ae8ac2035bd6048a/setup.py", line 40
          except ValueError, ve:
                           ^
      SyntaxError: invalid syntax
      [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.

That package is very old (2009) and Python 2 only. I don’t think you can make it work with streamlit. Why do you want to install it?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.