HankBO / stata-language-server

stata language serve based on pygls, including auto completion, codestyle checking, etc.
MIT License
16 stars 4 forks source link

Stata Language Server: Invalid python version, needs python >= 3.6 #6

Closed hackeye closed 2 years ago

hackeye commented 2 years ago

My python is 3.9 image

HankBO commented 2 years ago

I just check the code and find the logical error about the issue. You may update v1.1.1 and try again :)

Student144 commented 2 years ago

I have updated to v1.1.1 but still appear to be receiving this error. I have Python 3.9 installed, and have tried using the default pythonPath of "python" as well as the specific location of my installation. Is there anything else I can do to help debug?

hackeye commented 2 years ago

I have updated to v1.1.1 but still appear to be receiving this error. I have Python 3.9 installed, and have tried using the default pythonPath of "python" as well as the specific location of my installation. Is there anything else I can do to help debug?

I do not know, me too

HankBO commented 2 years ago

I made a mistake in v1.1.1 and now v1.1.2 can check if Python's version >=3.6. The Settings of VSCode use pythonPath(deafult python). So may terminal command python is linked to a lower version?

Student144 commented 2 years ago

I can confirm that I am no longer getting this error message. Thank you for such a fast fix.