-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Getting error Select Interpreter
when opening a Multi-root workspace
#3419
Comments
|
Probably this is not only problem with 'Select interpreter', after manually select interpreter doesn't work PYTHONPATH=./app_sources from my .env file. This settings work with single root folder, and doesn't with multi root workspace. |
@xcdr I don't quite understand the problem you are describing. please could you give some instructions to replicate this issue. |
Hi, I created repo for example: https://github.com/xcdr/vscode-bug-3419 You can clone this repo and open project via projects.code-workspace, in this case You should see underlined mypackage in main.py, but all work's fine when You open project-a or project-b directly because properly works PYTHONPATH via .env file.
I use vscode on Windows 10 1809 with pwsh 6.1. as shell:
I often use worspaces for sets of mixed projects in many technologies: Python,Go,SQL,Ruby itp. |
How do I "Open a multi-root workspace folder with one workspace folder"? |
Select Python Interpreter
in statusbar (simulate this somehow, ensure PYTHON is not in path, or updatepythonPath
insettings.json
to point to an invalid python interpreter)The text was updated successfully, but these errors were encountered: