# I use agent mode and it will not let me select the right env to run python. How to configure?

**URL:** <https://forum.cursor.com/t/i-use-agent-mode-and-it-will-not-let-me-select-the-right-env-to-run-python-how-to-configure/90177>\
**Category:** Help\
**Created:** [May 11, 2025, 2:16am UTC](https://forum.cursor.com/t/i-use-agent-mode-and-it-will-not-let-me-select-the-right-env-to-run-python-how-to-configure/90177 "2025-05-11T02:16:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skytree](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/skytree/32/19159_2.png) [@skytree](https://forum.cursor.com/u/skytree)\
**Post date:** [May 11, 2025, 2:16am UTC](https://forum.cursor.com/t/i-use-agent-mode-and-it-will-not-let-me-select-the-right-env-to-run-python-how-to-configure/90177/1 "2025-05-11T02:16:49Z")

</div>

I conda activate a env, but if I use agent mode, it only use the “base” env. How to configure the python env in the cursor in agent mode?

---

<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:** [June 18, 2026, 10:41am UTC](https://forum.cursor.com/t/i-use-agent-mode-and-it-will-not-let-me-select-the-right-env-to-run-python-how-to-configure/90177/2 "2026-06-18T10:41:54Z")

</div>


