llama-index-python icon indicating copy to clipboard operation
llama-index-python copied to clipboard

Fail to run `poetry run generate` in Windows

Open faynef opened this issue 1 year ago • 3 comments

Describe the issue: Running poetry run generate reports an error, the following error message appears: image

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
    
  4. Run azd up.
  5. Run azd env get-values > .env.
  6. 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.

faynef avatar Sep 03 '24 10:09 faynef

hi, is this issue resolved? I also have this issue.

Error message : ModuleNotFoundError: No module named 'llama_index.core.storage'

image

SohZongXian avatar Dec 19 '24 06:12 SohZongXian

I have the same problems

rbo-corematic avatar Mar 12 '25 22:03 rbo-corematic

It worked by changing to

llama-index = "0.10.56"
llama-index-core = "0.10.56"

in backend/pyproject.toml

rbo-corematic avatar Mar 12 '25 23:03 rbo-corematic