pythonvisual-studio-codeanaconda

How to Setup the python interpreter for Visual Studio Code


I want to Setup Visual Studio Code with Python interpreter.

Would you please give me some suggestions?


Solution

  • Setup Visual Studio Code with Anaconda Follow the following video (But following the instruction in the following step 4 not in the video): https://www.youtube.com/watch?v=sts3CFewvkY

    1. google search "download anaconda" enter image description here
    2. Install anaconda with all the recommended settings enter image description here
    3. Open visual studio code, install "Python extension for Visual Studio Code" enter image description here
    4. Press Ctrl+Shift+P, and open "Preferences:Open User Settings". Then Search for “Python:Default Interpreter Path”. The input location is where I installed anaconda. enter image description here The version of my Visual studio code is 1.85.1.