Python devcontainer won't initialize venv #177
Unanswered
Jason Walker (raginjason)
asked this question in
Q&A
Replies: 1 comment 4 replies
|
Eleanor Boyd (@eleanorjboyd) Should the Python extension automatically activate the venv? I see this enabled by default: |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I am trying to get a Python devcontainer running with venv. I have a repo located at https://github.com/raginjason/vscode-devcontainer-python-venv, and while it mostly works, any terminals don't seem to honor the venv. My understanding is that any
.venvdirectory under the project should be picked up automatically, but that does not seem to be the case. While I don't think I should need to mess withpostCreateCommandandpostAttachCommand, I have done so here in an attempt to get things working. This does not seem to help though.Any thoughts?
All reactions