Closed pidgeon777 closed 1 month ago
i don't think pythonPath
was ever a valid option in pyrightconfig.json
. it's not present in the configuration docs, only in the language server settings.
the reason you're only now seeing this error is because i made a change recently that reports invalid config as a notification in the language server instead of just silently logging it: #561
i'm pretty sure that means the setting wasn't doing anything and you can probably just remove it from your pyrightconfig.json
. it should just automatically detect your python interpreter
closing this, let us know if you are still having issues and we can re-open and investigate if needed
After a
basedpyright
update, I have this error when LSP is started:My
pyrightconfig.json
is:This configuration was working before the update.