VS Code 1.75.1 Error – „pythonPath“ is not valid
With VS Code 1.75.1 you could get this error message.

What helped in my environment was, to patch an extension file in the WSL.
You can find this file with
cd $HOME/.vscode-server find . -type f -exec grep "is not valid" {} \;
$HOME/.vscode-server/extensions/ms-python.python-2023.5.10591006/pythonFiles/lib/python/debugpy/adapter/clients.py

Leave a Reply