1. Open Visual Studio Code.
2. Go to the Extensions tab (Ctrl+Shift+X) and install the Python extension.
3. Go to File > Preferences > Settings.
4. In the left pane, search for “conda”.
5. In the right pane, search for “python.condaPath” and set the path to your Anaconda installation.
6. In the left pane, search for “conda env”.
7. In the right pane, search for “python.condaEnvFile” and set the path to your environment file.
最新评论