microsoft / PTVS

Python Tools for Visual Studio
https://aka.ms/PTVS
Apache License 2.0
2.52k stars 673 forks source link

Anaconda displays incorrectly in environment list. #7923

Open linette-zyy opened 4 weeks ago

linette-zyy commented 4 weeks ago

Describe the bug image

Steps to Reproduce

  1. Install Anaconda (downloads from https://www.anaconda.com/download/)
  2. Create Python Application project
  3. Right-click on Python Environments node in SE and select "View All Python Environments"
  4. Check the environment list

Expected behavior It should display complete version.

Additional context and screenshots Anaconda version is Python 3.11.7 image But it displays Python 3.1 image

I also install Python 3.12 from python.org. It displays correct. image

StellaHuang95 commented 3 weeks ago

Might be related: https://github.com/microsoft/PTVS/issues/7901#issuecomment-2155832284