Skip to content

Windows install: uv venv fails silently with non-standard Python paths; missing studio runtime deps; cu130 hardcoded for any CUDA 13.x driver #5260

Closed

Description

@jmorbit

With Python 3.13 at G:\python.exe (non-standard location), uv venv returned 0 but produced an empty Scripts/ folder, causing PyTorch install to fail with "No virtual environment or system Python installation found." Fell back to stdlib python -m venv which worked. Then studio/setup.ps1 line 359 forces cu130 for any CUDA 13.x driver, but uv's torch backend resolver tops out at cu128 and PyPI cu130 wheels are partial — caused infinite "stale venv → rebuild" loop. Patched line to return cu128. After that, unsloth studio update succeeded, but the server crashed sequentially on missing modules: structlog, fastapi, diceware, python-multipart, etc., plus the wrong jwt package (needs PyJWT, not jwt). Hardware: RTX 3060 Ti, Windows, CUDA 13.2 driver, Python 3.13.13.

Activity

  1. kustomzone commented on May 3, 2026

    @kustomzone

    Could be the recent merge.

    #5241

    For myself, I installed last week, but had to remove Cuda 13.1 and go with 12.4 or 12.8 which worked.

  2. rolandtannous commented on May 4, 2026

    @rolandtannous
    Contributor

    similar been reported , issue when lib location is not same drive. doesn't the install script or uv try to install python 3.13 if it doesn't find any on your system?

  3. jmorbit commented on May 5, 2026

    @jmorbit
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions