microsoft / PTVS

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

Conda environment is not detected after restart the VS. #7935

Open linette-zyy opened 2 days ago

linette-zyy commented 2 days ago

Describe the bug image

Steps to Reproduce

  1. Create a new Python application
  2. Right click Python Environment --> Add Environment to create a Conda environment
  3. Close the VS and restart the VS
  4. Open the project
  5. Observes

Expected behavior The Conda environment list in the Python Environment without any error.

Additional context and screenshots The Conda environment is not detected and an error message "This project "PythonApplication" has a reference to a missing Conda environment "env"" pops up. image