Sai Yerni Akhil's Blog

Sai Yerni Akhil's Blog

Setting up Anaconda Environment with Visual Studio Code in Windows 10

Setting up Anaconda Environment with Visual Studio Code in Windows 10

As a part of TalentAccurate’s python-75-challenge remote hackathon Anaconda Environment setup is very much needed. So, to get started with setting up Anaconda environment and complementing it with Visual Studio Code, follow the below steps -

  • Install Anaconda from Here .

  • After you complete installing Anaconda, Open Anaconda Navigator (In windows, you can simply do that by searching for it in the start menu).

  • In the Anaconda Navigator, you could easily find an Environment tab in the side navigation bar, open it and you can find a create option to the bottom left click on it and head over to next step.

  • When you click on create a small alert pops up, enter a environment name of your choice (for example, py36 ). Please do make note of the location of your environment which is just below the text box.

create new environment pop-upcreate new environment pop-up

  • Head over to the location of your environment which you have noted down. (which is of the form C:/Users/…. in windows)

  • Open edit system environment variables from start menu and and a new window appears then click on Environment variables > System Variables then you could find a variable named path . Click on edit and add new path to it and paste the location of your Anaconda Environment.

searching edit system system environment variablessearching edit system system environment variables

clicking on edit will lead you to the below windowclicking on edit will lead you to the below window

click on new and paste your anaconda environment locationclick on new and paste your anaconda environment location

  • Now open your Python project folder in Visual Studio Code, and to the bottom left corner you can find something like this

click on the highlighted one and it’ll lead you to the below oneclick on the highlighted one and it’ll lead you to the below one

you can now see your python interpreters (in my case it’s the **second one **~\Anaconda3\envs\py36\python.exe) where py36 is my environment name.you can now see your python interpreters (in my case it’s the second one ~\Anaconda3\envs\py36\python.exe) where py36 is my environment name.

 
Share this