You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version (& distribution if applicable, e.g. Anaconda): 3.7 Anaconda
Type of virtual environment used: conda
Expected behaviour
VS code should start up fast and detect conda environments on the machine.
Actual behaviour
Some python processes uses 100 % CPU and hangs when VS code starts.
The hanging processes are using conda run to query conda environments info using ms-python.python-2020.1.57204\pythonFiles\interpreterInfo.py.
This process hangs if the conda-environments are in locations which require admin rights.
The problem is caused by a bug conda-run conda/conda#9574 which creates temporary files directly in the environments instead of the tempfile folders. This again triggers a long standing Python bug in the tempfile module.
Steps to reproduce:
Create an environment
Move a environment to a place requiring admin rights E.g. "c:/conda-env"
Start VS code and wait for Python extension to query the environment with conda run
The text was updated successfully, but these errors were encountered:
Environment data
Expected behaviour
VS code should start up fast and detect conda environments on the machine.
Actual behaviour
Some python processes uses 100 % CPU and hangs when VS code starts.
The hanging processes are using
conda run
to query conda environments info usingms-python.python-2020.1.57204\pythonFiles\interpreterInfo.py
.This process hangs if the conda-environments are in locations which require admin rights.
The problem is caused by a bug conda-run conda/conda#9574 which creates temporary files directly in the environments instead of the tempfile folders. This again triggers a long standing Python bug in the tempfile module.
Steps to reproduce:
conda run
The text was updated successfully, but these errors were encountered: