Azure-Samples / Azure-Samples/llama-index-python

Fail to run `poetry run generate` in Windows

Open
#36 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
62
Forks
52
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue:**
Running `poetry run generate` reports an error, the following error message appears:
![image](https://github.com/user-attachments/assets/59ed2d86-00ab-4b9e-ad94-5e392857c37b)

**Repro Steps:**

1. Run `azd init --template llama-index-python`.
2. Run `azd auth login`.
3. Run
```
cd backend
python3 -m venv venv
source venv/bin/activate
poetry install
```
5. Run `azd up`.
6. Run `azd env get-values > .env`.
7. Run `poetry run generate`.

**Environment:**

- Azd version: azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
- OS: Windows

**Expected behavior:**
Running `poetry run generate` successfully.

@jongio and @marlenezw for notification.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.