Creating environment using uv tries to use pip
info needed
<!--
Thanks for taking the time to file an issue!
Take a look at our guidance on feedback and issues:
https://positron.posit.co/feedback.html
General questions about Positron should start in GitHub Discussions rather than as an issue:
https://github.com/posit-dev/positron/discussions
To avoid creating duplicates, please take the time to search our existing issues:
https://github.com/posit-dev/positron/issues
If you find an existing bug or feature request, please gives it a thumbs-up reaction or
additional information to help us prioritize the issue.
-->
## System details:
Windows 11
#### Positron and OS details:
Positron Version: 2026.07.1 (user setup) build 5
Code - OSS Version: 1.118.0
Commit: d3cdd608df5afa3378c24c9a9c81b01fe1433a87
Date: 2026-07-08T19:52:09-06:00
Electron: 39.8.8
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
#### Session details:
CTRL-Shift-P -> Python: Create Environment... -> uv Use uv to find a Python version locally (or install it if needed) for the new environment -> Python 3.12
## Describe the issue:
Attempts to install "seed packages" using pip instead of uv.
## Steps to reproduce the issue:
<!-- For example, are you using a Jupyter notebook, R script, Quarto document, etc? -->
1. Attempt to have Positron use uv to create a new environment
2.
## Expected or desired behavior:
Environment should be created.
## Were there any error messages in the UI, Output panel, or Developer Tools console?
```
Creating virtual environment with seed packages at: .venv
2026-07-14 16:39:15.529 [info] Found uv environment: c:\Users\<username>\test\.venv\Scripts\python.exe
2026-07-14 16:39:15.647 [info] Found uv environment: c:\Users\<username>\test\.venv\Scripts\python.exe
2026-07-14 16:39:23.441 [info] error: Failed to install seed packages into virtual environment
Caused by: No solution found when resolving: `pip`
2026-07-14 16:39:23.442 [info]
Caused by: Request failed after 3 retries in 8.1s
Caused by: Failed to fetch: `https://pypi.org/simple/pip/`
Caused by: error sending request for url (https://pypi.org/simple/pip/)
Caused by: client error (Connect)
Caused by: invalid peer certificate: UnknownIssuer
hint: Consider enabling use of system TLS certificates with the `--system-certs` command-line flag
2026-07-14 16:39:23.452 [error] Error while running uv environment creation script
2026-07-14 16:39:23.452 [error] Failed to create virtual environment with exitCode: 2
```
7 条评论