Skip to content
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

Run azd up fails in Windows #72

Closed
NanaXiong00 opened this issue Aug 6, 2024 · 5 comments
Closed

Run azd up fails in Windows #72

NanaXiong00 opened this issue Aug 6, 2024 · 5 comments

Comments

@NanaXiong00
Copy link

Describe the issue:
When executing azd up according to README.md, the error is as follows:
image

Repro Steps:

  1. Download the project code: azd init -t rag-postgres-openai-python
  2. Install required Python packages: pip install -r requirements-dev.txt
  3. Run azd auth login
  4. Run azd up

Environment:

  • Azd version: azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
  • OS: Windows desktop

Expected behavior:
Run azd up can successfully.

@jongio and @pamelafox for notification.

@pamelafox
Copy link
Contributor

Thanks, the instructions were missing an installation step:

https://github.com/Azure-Samples/rag-postgres-openai-python/blob/main/README.md#local-environment

I've changed step 4 to:

pip install -r requirements-dev.txt
pip install -e src/backend

Can you try that?

@NanaXiong00
Copy link
Author

NanaXiong00 commented Aug 7, 2024

@pamelafox Follow the above reply steps to test, and the following error message is still displayed:
image
image

@pamelafox
Copy link
Contributor

I've merged another fix that changes the powershell scripts to use azd env get-value. That requires the latest azd version, so I've also added requiredVersions to the azure.yaml to remind folks to upgrade. I've tested the new pwsh scripts on my Mac, but not on a Windows itself. Can you see if it's working for you now?

@NanaXiong00
Copy link
Author

I've merged another fix that changes the powershell scripts to use azd env get-value. That requires the latest azd version, so I've also added requiredVersions to the azure.yaml to remind folks to upgrade. I've tested the new pwsh scripts on my Mac, but not on a Windows itself. Can you see if it's working for you now?

Based on the latest code tested in Windows environment, the above problems have been fixed.

@pamelafox
Copy link
Contributor

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants