Skip to content

install packages tool uses wrong environment #25382

Closed

Description

## Request
~~~
id   : call_FkcWSOHDxlxTvU6V3T23mYnx__vscode-1755032163659
tool : install_python_packages
args : {
  "packageList": [
    "fastapi",
    "uvicorn[standard]",
    "jinja2"
  ],
  "resourcePath": "c:\\GIT\\demo\\projects\
queens"
}
~~~
## Response
~~~
ERROR while calling tool: Failed to run uv pip install --python C:\Users\kanadig\AppData\Local\Microsoft\WindowsApps\python3.13.exe fastapi uvicorn[standard] jinja2
Please check your input and try again.
~~~

Activity

  1. eleanorjboyd commented on Aug 13, 2025

    @eleanorjboyd

    What is expected vs actual? Also is there a space in your resource path or smth or is the queens just on a new line because of formatting?

  2. karthiknadig commented on Aug 13, 2025

    @karthiknadig
    MemberAuthor

    the nqueens being in the next line is a formatting issue. The path that was sent to the tool was correct. The failure here is that there was a .venv that was created in the previous step, by the model using another tool. It should have used that .venv

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

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-teamverification-steps-neededSteps to verify are needed for verification

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions