Skip to content

uv-python: panic when installing Python 3.12 on Windows (called \Option::unwrap() on a None value in downloads.rs) #13376

@farukonfly

Description

@farukonfly

Question

no python in my pc

D:>uv python install 3.12 --verbose
DEBUG uv 0.7.3 (3c413f7 2025-05-07)
DEBUG Acquired lock for C:\Users\farukon\AppData\Roaming\uv\python
DEBUG No installation found for request Python 3.12
DEBUG Found download cpython-3.12.10-windows-x86_64-none for request Python 3.12
DEBUG Using request timeout of 30s

thread 'main2' panicked at C:\a\uv\uv\crates\uv-python\src\downloads.rs:646:14:
called Option::unwrap() on a None value
stack backtrace:
0: 0x7ff6998f092c -
1: 0x7ff6994e121a -
2: 0x7ff6998efe87 -
3: 0x7ff6998f0784 -
4: 0x7ff6998efac5 -
5: 0x7ff699917132 -
6: 0x7ff6999170bf -
7: 0x7ff69991a7ae -
8: 0x7ff69b849601 -
9: 0x7ff69b84965d -
10: 0x7ff69b84988e -
11: 0x7ff699f99e99 -
12: 0x7ff699f952c2 -
13: 0x7ff6993d6a6d -
14: 0x7ff699e84602 -
15: 0x7ff699dde2e3 -
16: 0x7ff699dbffce -
17: 0x7ff69a50bf18 -
18: 0x7ff69a119262 -
19: 0x7ff699911b1d -
20: 0x7ffc1445e8d7 - BaseThreadInitThunk
21: 0x7ffc149dbf6c - RtlUserThreadStart
DEBUG Released lock at C:\Users\farukon\AppData\Roaming\uv\python\.lock

thread 'main' panicked at C:\a\uv\uv\crates\uv\src\lib.rs:2106:10:
Tokio executor failed, was there a panic?: Any { .. }
stack backtrace:
0: 0x7ff6998f092c -
1: 0x7ff6994e121a -
2: 0x7ff6998efe87 -
3: 0x7ff6998f0784 -
4: 0x7ff6998efac5 -
5: 0x7ff699917169 -
6: 0x7ff6999170bf -
7: 0x7ff69991a7ae -
8: 0x7ff69b849601 -
9: 0x7ff69b8499d0 -
10: 0x7ff69a63d2a2 -
11: 0x7ff69a507286 -
12: 0x7ff69a63c352 -
13: 0x7ff69b82357c -
14: 0x7ffc1445e8d7 - BaseThreadInitThunk
15: 0x7ffc149dbf6c - RtlUserThreadStart

Platform

Windows11 X86_64

Version

uv 0.7.3 (3c413f7 2025-05-07)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions