Open AliMoeen opened 3 months ago
@AliMoeen I'm unable to replicate this inside a GitHub Codespace, so I think it must be particular to the environment somehow.
Can you go into load_python_env.sh and remove the --quiet and --disbale-pip-version-check arguments from here? That might give us more insight into what's happening / when it's happening:
.venv/bin/python -m pip --quiet --disable-pip-version-check install -r app/backend/requirements.txt
@pamelafox , thank you for response.
I did everything inside the repo's devcontainer. Did you used the same devcontainer in your Codespace setup?
After the Bicep infrastructure deployment was done, inside the dev container, I used the Python's .env and did a pip install -r requirments.txt
. It fixed the issue and I am able to debug the python service application.
With above workaround, I am able to move forward with updating the code.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Get the latest version of the repo
Use VSCODE Devcontainer comes with the repo
azd uo
Any log messages given by the failure
The Python venv build should work within the devcontainer that is provided.
OS and Version?
Windows 11, but doesn't matter since it is inside the devcontainer
azd version?
Versions
https://github.com/Azure-Samples/azure-search-openai-demo/releases/tag/2024-08-08
Mention any other details that might be useful
I think pip install breaks inside the devcontainer