Skip to content

[Bug] Unsloth Studio installation fails on Windows 11 with scoop #4701

Description

@JackieJK
⚡wo ❯❯ irm https://unsloth.ai/install.ps1 | iex

  🦥 Unsloth Studio Installer (Windows)
  ────────────────────────────────────────────────────

  python         Python 3.12 already installed
                 removing existing environment for fresh install...
  venv           creating Python 3.12 virtual environment
                 C:\Users\wo\.unsloth\studio\unsloth_studio
  gpu            NVIDIA GPU detected
                 installing PyTorch (https://download.pytorch.org/whl/cu130)...
                 installing unsloth (this may take a few minutes)...
  setup          running unsloth studio setup...
Note: 'unsloth studio setup' is deprecated. Use 'unsloth studio update' or re-run install.sh.

  🦥 Unsloth Studio Setup
  ────────────────────────────────────────────────────
  gpu            NVIDIA GPU detected
[OK] Windows Long Paths enabled
  git            git version 2.49.0.windows.1
  cmake          cmake version 4.3.1
  vs             Visual Studio 17 2022 (filesystem (BuildTools))
   cl.exe: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\cl.exe
   Driver supports up to CUDA 13.2
   GPU Compute Capability = 8.9 (sm_89)
   [OK] Using existing CUDA Toolkit at CUDA_PATH (nvcc: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1\bin\nvcc.exe)
   Persisted CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1 to user environment
   Set CUDA_PATH_V13_1 (cleared other CUDA_PATH_V* vars)
  cuda           C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1\bin\nvcc.exe
   CUDA_PATH      = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1
   CudaToolkitDir = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1\
[OK] Node v25.8.0 and npm 11.11.1 already meet requirements.
  node           v25.8.0 | npm 11.11.1
[OK] bun already installed (1.3.5)

--- System prerequisites ready ---

  frontend       up to date
Installing OXC validator runtime...
[OK] OXC validator runtime installed

Setting up Python environment...
[OK] Using D:\scoop\Scoop\shims\python3.exe (Python 3.12.10)
   [INFO] Stale venv detected (torch cpu != required cu130) -- rebuilding...
   [ERROR] Could not remove stale venv: 对路径python.exe的访问被拒绝。
           Close any running Studio/Python processes and re-run setup.
[ERROR] unsloth studio setup failed (exit code 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    insufficient informationWhen the Issue author does not provide enough information about setup, issue or help us debug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions