# Agent's CLI tool does not respect IDE's selected python venv

**URL:** <https://forum.cursor.com/t/agents-cli-tool-does-not-respect-ides-selected-python-venv/154540>\
**Category:** Bug Reports\
**Tags:** python, terminal\
**Created:** [March 12, 2026, 9:20am UTC](https://forum.cursor.com/t/agents-cli-tool-does-not-respect-ides-selected-python-venv/154540 "2026-03-12T09:20:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhuojie\_he](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/zhuojie_he/32/101422_2.png) [@zhuojie\_he](https://forum.cursor.com/u/zhuojie_he)\
**Post date:** [March 12, 2026, 9:20am UTC](https://forum.cursor.com/t/agents-cli-tool-does-not-respect-ides-selected-python-venv/154540/1 "2026-03-12T09:20:49Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/4/e/4ec6008ec4c619a626414d86f3d9dc74a0ff2536.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [March 12, 2026, 9:20am UTC](https://forum.cursor.com/t/agents-cli-tool-does-not-respect-ides-selected-python-venv/154540/2 "2026-03-12T09:20:56Z")

</div>

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the **Bug Reports** category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

> **Bug Report Template - Click to expand**
>
> **Where does the bug appear (feature/product)?**
> 
> - Cursor IDE
> - Cursor CLI
> - Background Agent (GitHub, Slack, Web, Linear)
> - BugBot
> - Somewhere else…
> 
> * * *
> 
> **Describe the Bug**  
> A clear and concise description of what the bug is.
> 
> * * *
> 
> **Steps to Reproduce**  
> How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!
> 
> 1. …
> 2. …
> 3. …
> 
> * * *
> 
> **Expected Behavior**  
> What is meant to happen here that isn’t working correctly?
> 
> * * *
> 
> **Screenshots / Screen Recordings**  
> If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)
> 
> * * *
> 
> **Operating System**
> 
> - Windows 10/11
> - MacOS
> - Linux
> 
> * * *
> 
> **Version Information**
> 
> - For Cursor IDE: Menu → About Cursor → Copy
> - For Cursor CLI: Run `agent about` in your terminal
> 
> ```auto
> IDE:
> Version: 2.xx.x
> VSCode Version: 1.105.1
> Commit: ......
> 
> CLI:
> CLI Version 2026.01.17-d239e66
> 
> ```
> 
> * * *
> 
> **For AI issues: which model did you use?**  
> Model name (e.g., Sonnet 4, Tab…)
> 
> * * *
> 
> **For AI issues: add Request ID with privacy disabled**  
> Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1  
> For Background Agent issues, also post the ID: bc-…
> 
> * * *
> 
> **Additional Information**  
> Add any other context about the problem here.
> 
> * * *
> 
> **Does this stop you from using Cursor?**
> 
> - Yes - Cursor is unusable
> - Sometimes - I can sometimes use Cursor
> - No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 3, 2026, 9:20am UTC](https://forum.cursor.com/t/agents-cli-tool-does-not-respect-ides-selected-python-venv/154540/4 "2026-04-03T09:20:57Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
