Skip to content

Creating environment using uv tries to use pip #14865

Description

@zoof

System details:

Windows 11

Positron and OS details:

Positron Version: 2026.07.1 (user setup) build 5
Code - OSS Version: 1.118.0
Commit: d3cdd60
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:

  1. Attempt to have Positron use uv to create a new environment

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    info neededWaiting on information

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions