Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conda environment not showing up in VS Code

I installed miniconda on Windows 10 and created an environment (I followed this guide: https://www.notion.so/shashankkalanithi/Setting-Up-Conda-Environment-ba83f7f019ea44b9af37588eed419eb9). However when I open the VS Code I don't see that environment python interpeter on kernel list. There is only one interpreter on the list: ~\Miniconda3\python.exe

How can I fix this?

like image 238
TityBoi Avatar asked Jan 24 '23 07:01

TityBoi


1 Answers

in vscode press ctrl+shift+p and type python:Select Interpreter you should see all the environment there. If it does not appear create a .py file and try again. also you can press the reload icon on the search bar where you typed python:select interpreter.

like image 69
se7en Avatar answered Jan 26 '23 19:01

se7en