What this thread does
The problem
uv can fail while trusting a corporate proxy, starting Python behind a Windows trampoline, or creating executable wrappers while installing a wheel. Choose a repair from the innermost cause, not the outer installation failure.
Versions, licence and service scope — checked 2026-11-14
| Item | Official source fetched now | Meaning |
|---|---|---|
| As of November 2026, uv 0.13.9 | Official release, released 2026-11-17 | Current reference, not proof all failures are fixed |
| Licensing | MIT and Apache repository licence files | Read the distribution terms; no hosted plan priced here |
| Historical reproduction | uv 0.11.11 in #19390; wheel 0.47.0 in #19873 | Issue environments, not downgrade recommendations |
When to pick which branch
| Innermost symptom | Layer to inspect | Start with |
|---|---|---|
| UnknownIssuer behind HTTPS inspection | Trust roots in the OS running uv | Current TLS docs and approved corporate CA |
| Trampoline cannot spawn Python | Base interpreter and Windows launch | Direct Python versus uv -vv run python |
| Windows PE resource update fails | Generated executable file access | Security-tool events for the blocked operation |
UnknownIssuer behind a corporate proxy
Exact fragment invalid peer certificate: UnknownIssuer is in NiklasRosenstein's #1474, opened 2024-02-16. Inspection substitutes a chain signed by an internal root which uv's bundled roots may not trust. Maintainer zanieb recommends the historical native-TLS option and another user confirms it worked. Current official TLS docs document system-certificate selection. Checked 2026-11-14.
After IT installs the approved root in the executing OS trust store, run uv sync --system-certs. In PowerShell, session configuration can use $env:UV_SYSTEM_CERTS = "true", then uv sync. Alternatively, obtain an approved PEM bundle and use SSL_CERT_FILE=./company-ca-bundle.pem uv sync in a POSIX shell; PowerShell can set $env:SSL_CERT_FILE = "./company-ca-bundle.pem" before uv sync. This bundle replaces the default trust source, so include all roots required by your indexes. WSL has its own store. Configure the company-provided HTTPS_PROXY separately if needed.
Do not permanently use --allow-insecure-host, switch indexes to HTTP, assume REQUESTS_CA_BUNDLE controls uv, or install an unverified certificate. If an older uv lacks the current flag, check its help and the linked docs first. The fix is restoring the correct chain of trust.
Windows trampoline cannot spawn Python
Exact lines error: uv trampoline failed to spawn Python child process and Caused by: entity not found (os error 2) occur in Wintreist's #19390, opened 2026-05-13. The wrapper cannot start its target interpreter. A removed base Python is one possible cause: zanieb asks about removal, but the reporter says direct Python works. woodruffw asks for verbose logs and current-release testing. The fetched issue remains open. Checked 2026-11-14.
Run uv --version, uv python list --only-installed, uv python find, then uv -vv run python. Execute the returned base interpreter directly with --version, using PowerShell's call operator if needed. Compare it with the failing project launcher. If the base interpreter is actually missing, restore the request in .python-version with uv python install, preserve the environment with Rename-Item .venv .venv.broken, then uv sync --locked to recreate it from the lockfile. Use another backup name if necessary. For a tool environment, inspect uv tool list and reinstall only that tool against a working Python.
If direct Python works, the missing-interpreter hypothesis is insufficient. Capture the OS build and redacted verbose output for the open issue; try a scratch environment on a supported Windows host to isolate machine behavior. Do not purge all managed Pythons, rewrite uv.lock or promise that a uv upgrade fixes #19390. These are conditional recovery steps and diagnostics, not an accepted cure for that unresolved report.
Wheel installation fails creating console launchers
Verified message Failed to install: wheel-0.47.0-py3-none-any.whl (wheel==0.47.0) with inner prefix Failed to update Windows PE resources: appears in zWingz's #19873, opened 2026-06-16. Installation has reached mutation of a generated Windows executable. woodruffw identifies the underlying file-open error and asks about scanning software; zWingz confirms a security tool interfered and installation worked when it stopped. A later corporate-VDI reporter sees the same PE-resource failure during tool installation, without independently proving its cause. Checked 2026-11-14.
For the maintainer's reduced reproduction, run uv venv --seed uv-launcher-check in a scratch directory and compare it with the failing custom-interpreter invocation. For a project, capture uv -vv sync --locked. Have the security administrator inspect quarantine/file-access events for the temporary launcher. If confirmed, request a narrow approved exception or approved installation location, then retry the same operation. For tool installation, retry the original uv tool install TOOL after resolving the file block, substituting the affected package. Verify the resulting executable launches.
Do not disable endpoint protection globally, elevate every command or assume --link-mode copy repairs PE resource mutation; the VDI reporter tried copy mode unsuccessfully. Do not install a compiler merely because the outer error mentions a wheel. This failure occurs during installation, not necessarily compilation.
Community evidence and recommendation by constraint
#1474 supplies maintainer advice and user confirmation for corporate trust. #19390 has no accepted fix. #19873 was closed as a duplicate on 2026-06-17; its file-scanning workaround is not universal. These are three distinct demand signals, not a prevalence study.
On inspected networks, repair trust first. When Python cannot start, verify its target before changing package caches. When Windows blocks a generated executable, investigate the file operation with the security team. Preserve uv.lock during environment recovery. Broad cache purges and simultaneous dependency upgrades destroy useful evidence.
A prompt to give your agent
Read the linked issue, human maintainer replies and current official TLS/CLI docs before proposing commands; do not guess from a snippet. Collect uv --version, OS build, the failed command and complete redacted caused-by chain. Choose trust failure, Python launch or wrapper installation. Distinguish proven causes from hypotheses. Preserve uv.lock, make the smallest conditional repair and report its actual result. Where no verified fix exists, prepare a minimal reproduction rather than claiming success.
Limits
No proxy, Windows host, install or recovery command was tested. Community evidence is GitHub issues rather than Reddit. The requested literal wheel-install wording was not verified; this thread uses the actual fetched installation and PE-resource messages. It covers console-wrapper creation, not every malformed entry-point metadata or source-build error. uv 0.13.9 was fetched as the current release but not tested on these reproductions. Older issue versions are not current support guarantees. Current command syntax was cross-checked against the official CLI reference, checked 2026-10-20.
Started from a post by @Wintreist, packaged by the editor. Original post