Failed to install vision based on python 3.13t(free-threaded) on Windows OS
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
Description
🐛 Describe the bug
Reproduce steps:
[Windows 11 OS]
conda create -n nogil2 --override-channels -c conda-forge python-freethreading
conda activate nogil2
pip install torch torchvision torchaudio --pre --index-url https://download.pytorch.org/whl/nightly/cu128
ERROR: Cannot install torchvision==0.22.0.dev20250226+cu128, torchvision==0.22.0.dev20250227+cu128, torchvision==0.22.0.dev20250228+cu128, torchvision==0.22.0.dev20250301+cu128, torchvision==0.22.0.dev20250302+cu128, torchvision==0.22.0.dev20250303+cu128, torchvision==0.22.0.dev20250304+cu128, torchvision==0.22.0.dev20250306+cu128, torchvision==0.22.0.dev20250307+cu128, torchvision==0.22.0.dev20250308+cu128, torchvision==0.22.0.dev20250309+cu128, torchvision==0.22.0.dev20250310+cu128, torchvision==0.22.0.dev20250311+cu128 and torchvision==0.22.0.dev20250312+cu128 because these package versions have conflicting dependencies.
The conflict is caused by:
torchvision 0.22.0.dev20250312+cu128 depends on numpy
torchvision 0.22.0.dev20250311+cu128 depends on numpy
torchvision 0.22.0.dev20250310+cu128 depends on numpy
torchvision 0.22.0.dev20250309+cu128 depends on numpy
torchvision 0.22.0.dev20250308+cu128 depends on numpy
torchvision 0.22.0.dev20250307+cu128 depends on numpy
torchvision 0.22.0.dev20250306+cu128 depends on numpy
torchvision 0.22.0.dev20250304+cu128 depends on numpy
torchvision 0.22.0.dev20250303+cu128 depends on numpy
torchvision 0.22.0.dev20250302+cu128 depends on numpy
torchvision 0.22.0.dev20250301+cu128 depends on numpy
torchvision 0.22.0.dev20250228+cu128 depends on numpy
torchvision 0.22.0.dev20250227+cu128 depends on numpy
torchvision 0.22.0.dev20250226+cu128 depends on numpy
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Versions
Versions
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A
OS: Microsoft Windows Server 2022 Datacenter Evaluation (10.0.20348 64-bit)
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A
Python version: 3.13.2 experimental free-threading build | packaged by conda-forge | (main, Feb 17 2025, 13:52:36) [MSC v.1942 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-2022Server-10.0.20348-SP0
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A
CPU:
Name: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
Manufacturer: GenuineIntel
Family: 179
Architecture: 9
ProcessorType: 3
DeviceID: CPU0
CurrentClockSpeed: 2594
MaxClockSpeed: 2594
L2CacheSize: 18432
L2CacheSpeed: None
Revision: 21767
Name: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz
Manufacturer: GenuineIntel
Family: 179
Architecture: 9
ProcessorType: 3
DeviceID: CPU1
CurrentClockSpeed: 2594
MaxClockSpeed: 2594
L2CacheSize: 18432
L2CacheSpeed: None
Revision: 21767
Versions of relevant libraries:
[pip3] No relevant packages
[conda] No relevant packages
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the conda and pip commands on Windows with Python 3.13 free-threaded and the CUDA 12.8 nightly index. Inspect the available torch and torchvision package metadata and dependency requirements; done means the installation either resolves successfully or the supported limitation and required package conditions are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system, computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100