When building the SimpleChat devContainer, the Python virtual environment is being created before Visual Studio Code is configured. This prevents the Python extension from recognizing the virtual environment and causes post deployment scripts to fail.
Steps to reproduce:
- Start building the devContainer for SimpleChat.
- Observe that the Python venv is created prior to VS Code configuration.
- Notice the Python extension does not detect the venv.
- Post deployment scripts do not execute successfully.
Expected behavior:
- Python extension should recognize the venv automatically.
- Post deployment scripts should execute without failures.
Actual behavior:
- Venv is not recognized by the Python extension.
- Post deployment scripts fail to run.
Suggested fix:
Configure the devContainer build so that Visual Studio Code is fully set up before creating the Python virtual environment.
Environment:
- SimpleChat devContainer
- Python
- Visual Studio Code
When building the SimpleChat devContainer, the Python virtual environment is being created before Visual Studio Code is configured. This prevents the Python extension from recognizing the virtual environment and causes post deployment scripts to fail.
Steps to reproduce:
Expected behavior:
Actual behavior:
Suggested fix:
Configure the devContainer build so that Visual Studio Code is fully set up before creating the Python virtual environment.
Environment: