Skip to content

Update README for fix for installation on Windows#224

Merged
twang849 merged 6 commits intosupercog-ai:mainfrom
twang849:main
Jun 16, 2025
Merged

Update README for fix for installation on Windows#224
twang849 merged 6 commits intosupercog-ai:mainfrom
twang849:main

Conversation

@twang849
Copy link
Contributor

@twang849 twang849 commented Jun 11, 2025

Issue

  • Dependency conflicts when trying to install the agentic framework on Windows with
    "uv pip install -e "./agentic[all,dev]" --extra-index-url https://download.pytorch.org/whl/cpu"
    image

  • Torch+cpu requirement cannot be installed.
    Capture

Cause

  • By default, uv will only consider package versions that are published on the first index it finds for a given package name. When using the flag "--extra-index-url" it makes that extra index the default index to look for packages, causing weird issues. For example, that jinja2 cannot be found on version 3.1.6 when it does exist on PyPI. This is because it is looking for that package solely on the download website for torch, which has outdated links.

  • Additionally, torch cpu version does not exist

Fix

  • Add --index-strategy unsafe-first-match to the uv pip install command. This allows uv to search for each package across all indexes, without limiting the candidate versions to those present in the first index that contains the package.

  • Removed "+cpu" from the pyproject.toml file dependency under [rag]
    See Document installing on Windows #206

@twang849 twang849 merged commit 0e0026c into supercog-ai:main Jun 16, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants