我在 Windows 10 上安装了 miniconda 并创建了一个环境(我遵循了本指南:https://www.notion.so/shashankkalanithi/Setting-Up-Conda-Environment-ba83f7f019ea44b9af37588eed419eb9)。但是,当我打开 VS Code 时,我在内核列表中没有看到该环境 python interpeter。列表中只有一个解释器:~\Miniconda3\python.exe
我怎样才能解决这个问题?
最佳答案
您可以尝试遵循以下方法
vscode - Create a conda environment
Additional notes: ...To ensure the environment is set up well from a shell perspective, one option is to use an Anaconda prompt with the activated environment to launch VS Code using the code . command. At that point you just need to select the interpreter using the Command Palette or by clicking on the status bar.
关于python - Conda 环境未显示在 VS Code 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68717327/