VS can only recognize one environment when Python and Anaconda have the same version.

Open
#8,230 1 comment 0 reactions 1 assignee View on GitHub

@rchiodo is already working on this.

Since May 8, 2025.

Assessment

This issue has not been assessed yet.

Description

needs repro

Environment
Image

Steps to Reproduce

  1. Download and install Python 3.12 from python.org
  2. Install Anaconda (downloads at https://www.anaconda.com/download/)
  3. Launch VS and create a new python application
  4. Right-click the Python Environments node and select "Add Environment …" from the displayed list".
  5. Click Existing environment
  6. Check the Environment list

Expected behavior
Python3.12 and Anaconda are both in the list. And Anaconda be specially identified like this.
Image

Actual Result
VS can only recognize Conda Environment when Python and Anaconda have the same version.
Image

Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PTVS

All issues in microsoft/PTVS

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.