Skip to content

Issue with conda and python #3

@carinae

Description

@carinae

Hello,

The script "unsloth studio python" seems unable to use the python installed inside my conda environment (unsloth).
Installation was without trouble except the step with "unsloth studio setup"
It appears the setup script is not inheriting the active environment's PATH
I'm on Windows 11 pro and powershell.

(unsloth) PS C:\Temp> unsloth studio setup
+==============================================+
| Unsloth Studio Setup (Windows) |
+==============================================+
[OK] NVIDIA GPU detected
[OK] Windows Long Paths enabled
[OK] Git found: git version 2.53.0.windows.1
[OK] CMake found: cmake version 3.31.6-msvc6
[OK] Visual Studio 17 2022 detected via 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.1
GPU Compute Capability = 8.9 (sm_89)
[DEBUG] Checking CUDA compatibility: toolkit=12.8 arch=sm_89
[OK] Using existing CUDA Toolkit at CUDA_PATH (nvcc: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin\nvcc.exe)
Persisted CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8 to user environment
Set CUDA_PATH_V12_8 (cleared other CUDA_PATH_V* vars)
[OK] CUDA Toolkit: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin\nvcc.exe
CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
CudaToolkitDir = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
[OK] Node v24.12.0 and npm 11.8.0 already meet requirements.
[OK] Node v24.12.0 | npm 11.8.0
[ERROR] Python Python 3.10.12 is outside supported range (need >= 3.11 and < 3.14).
Install Python 3.12 from https://python.org/downloads/
(unsloth) PS C:\Temp> python --version
Python 3.12.12
(unsloth) PS C:\Temp>

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