palantir / python-language-server

An implementation of the Language Server Protocol for Python
MIT License
2.6k stars 281 forks source link

error pip #957

Open GUCHIHACKER opened 1 year ago

GUCHIHACKER commented 1 year ago

Can someone help me? I don't know why I'm getting this error, I've tried updating setuptools and more but it keeps giving the same error.

  ~/Downloads ❯ pip install hashlib  12:13:48 Defaulting to user installation because normal site-packages is not writeable Collecting hashlib Using cached hashlib-20081119.zip (42 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 "/tmp/pip-install-9xkiv3cz/hashlib_12b6f04d58f845339f2fb50d503dd2bf/setup.py", line 68 print "unknown OS, please update setup.py" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? [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.

thanks:)