Codespace doesn't handle python venv properly #25452
-
Your code just added a folder called Please change this behaviour… |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@kmahyyg, thanks for the feedback! This is coming from Oryx here: https://github.com/microsoft/Oryx/blob/1a35fbce482b20b71290f3a837a3469803ce4b44/src/BuildScriptGenerator/Python/PythonPlatform.cs#L466. We run Oryx automatically if you do not specify a One way to workaround this is to define a |
Beta Was this translation helpful? Give feedback.
@kmahyyg, thanks for the feedback! This is coming from Oryx here: https://github.com/microsoft/Oryx/blob/1a35fbce482b20b71290f3a837a3469803ce4b44/src/BuildScriptGenerator/Python/PythonPlatform.cs#L466. We run Oryx automatically if you do not specify a
postCreateCommand
indevcontainer.json
. Oryx inspects your repo, infers the project type, and then restores and builds the project if it’s one of the languages/frameworks that it understands.One way to workaround this is to define a
postCreateCommand
in your repo which could do any sort of setup you’d like after the container is created instead of falling back to the default inference behavior.