Closed connorferster closed 10 months ago
Thanks for the issue but it looks to me like you're using Jedi, not Pylance. Those logs are from the Python extension (not the Pylance extension) and it looks like it's running Jedi.
You might log an error on the jedi language server, or switch your language server to Pylance.
That setting is here:
Environment data
Repro Steps
Can't really say. PyLance normally works for me. I noticed this morning that when I launched VS Code it was not working. I found the Python Language Server output log and saw that it should be looking in the directory:
C:\Users\username\miniconda3\envs\environment_name\python.exe
Instead it is looking here:
C:\Users\username\miniconda3\envs\environment_name\Scripts\python.exe
Last I remember there is never a
python.exe
in "Scripts". Seems to be a mistake in the PyLance code.Expected behavior
PyLance does its magic!
Actual behavior
No magic :(
Logs
I did not set the
python.analysis.logLevel
to"Trace"
. I think the problem is apparent from the existing output but let me know if needed.Logs have been anonymized to remove internal project identifiers and usernames.