Does VS code auto update Python dependencies in virtual environment? #307
-
I am new to VS code. Recently I code in VS code for a python project and run by conda virtual environment. Later I found some dependencies were updated. Does VS code auto-update dependencies in virtual environment when it runs the code? How to stop it if yes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @anguslou , I'm not a Python developer nor have any Python extension installed, but I suppose that if this is happening, it is something inherited from the Python extension that you have installed. A quick look at the Microsoft Python Extension, it doesn't seems to have any setting for that, just a I suggest you to review the settings available in the Python extension you are using, and if no success, ask the same question in the repository of that extension. Hope this helps |
Beta Was this translation helpful? Give feedback.
Hi @anguslou ,
I'm not a Python developer nor have any Python extension installed, but I suppose that if this is happening, it is something inherited from the Python extension that you have installed.
A quick look at the Microsoft Python Extension, it doesn't seems to have any setting for that, just a
python.condaPath
, which is a Path to the conda executable to use for activation. If that's the extension you are using, there is a good probability that this is the default behaviorI suggest you to review the settings available in the Python extension you are using, and if no success, ask the same question in the repository of that extension.
Hope this helps