-
Notifications
You must be signed in to change notification settings - Fork 26
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
[BUG] Unable to select default Python env #1483
Comments
Do I understand correctly, that the Poetry venv in the list on your screenshot doesn't work? Or that is a newly created venv? Does existing vent work when you manually enter a path to its python executable? (by clicking on |
the venv is the newly created one, when the setup asked me to create one. the rest of the python envs are shown when i clicked on |
Does python extension sees your default venv? E.g can you open any py or ipynb files and run it using your default environment? Also, on the screenshot I see that |
Exactly, my devcontainer does not have a venv and uses the global interpreter as the environment separation is provided by the docker container already |
Any chance, we can drop the venv requirement? It seems quite arbitrary |
Sorry, this issue got a bit lost 😬 I can see how it can be limiting. On the other hand we don't want to pollute global python installation with our dependencies - for the majority of the use cases it's the wrong thing to do. In your container definition, can you create a project-scoped venv with access to system packages ( Or do you have some additional setup with which the venv won't work well (even with |
No worries. |
Describe the bug
I run my project in a docker devcontainer. I have poetry setup already, yet I am not able to select any default Python environment, but need to create a .venv or conda env
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
System information:
Help: About
command (CMD-Shift-P).v2.4.8
Databricks Extension Logs
Please attach the databricks extension logs
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: