Skip to content

Quick Create, error: %ProgramFiles%\Microsoft VS Code Insiders does not appear to be a Python project #1739

Open

Description

Type: Bug

  1. Fork https://github.com/numba/numba/
  2. Microsoft VS Code Insiders /Clone Git Repository... /clone the fork
  3. Python /Environment Managers /venv /Create Environment /Quick Create

... [info] error: C:\Program Files\Microsoft VS Code Insiders does not appear to be a Python project, as neither pyproject.toml nor setup.py are present in the directory

Python Environments.log

Comparison to #369

  1. Not my project.
  2. No VSCode Workspace; but I created a workspace and retried: same problem.
  3. Project does not have pyproject.toml.
  4. Only affects this project:
    1. Has not happened with any other project.
    2. Tested Quick Create just now on hunterhogan/mapFolding: no problems.
  5. Running VSCode as Admin.

Troubleshooting context


Extension version: 1.37.2026082101
VS Code version: Code - Insiders 1.136.0-insider (293593cce438781a8093ad49dd221cf50dcd0d7a, 2026-08-25T16:45:15Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 5700U with Radeon Graphics (16 x 1797)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x164c [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=31.0.21925.1001 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 12.90GB (2.00GB free)
Process Argv
Screen Reader no
VM 0%

Activity

  1. eleanorjboyd commented on Sep 23, 2026

    @eleanorjboyd
    Contributor

    🤖 Triage: the venv is created successfully; the subsequent dependency install fails. Numba’s requirements.txt contains -e ., and although we pass the requirements file as an absolute path, uv resolves . against the install process’s cwd. The log shows it resolving to C:\Program Files\Microsoft VS Code Insiders rather than c:\clones\numba.

    Quick Create already knows the project root (venvRoot), and the internal package-command options support cwd, but PackageManagementOptions does not carry it through api.managePackages, and both pip/uv install commands pass undefined for cwd. We should pass the owning project root through package management and use it for installation (with regression coverage for -e . in requirements files under both uv and pip). An environment may be shared or external, so inferring its project solely from the environment path is not reliable.

    Eduardo Villalpando Mello (@edvilme) Could you weigh in on the API shape for passing the project working directory to managePackages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-environmentEnvironment, interpreter related issues.bugIssue identified by VS Code Team member as probable bugneeds proposal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions