Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError with default 'devContainer.json' in VSCode #3

Open
sudarsangokhale opened this issue Jul 25, 2022 · 0 comments
Open

ImportError with default 'devContainer.json' in VSCode #3

sudarsangokhale opened this issue Jul 25, 2022 · 0 comments

Comments

@sudarsangokhale
Copy link

Hi,
I was following the step-by-step tutorial : https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers
But when I launched the Debug session in VSCode, I received the following error:
Screenshot 2022-07-25 190237

After few attempts, when I added "python.defaultInterpreterPath": "/usr/local/bin/python", and rebuilt the container and launched debug session, it worked. Kindly check and make the necessary changes in the documentation accordingly. I couldn't identify the root cause of the problem and couldn't clearly explain how this additional settings property helped though.
"settings": { "terminal.integrated.shell.linux": "/bin/bash",
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.pythonPath": "/usr/local/bin/python", "python.linting.enabled": true, "python.linting.pylintEnabled": true, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant