Anaconda and Visual Studio Code Setup

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2024
  • In this video, I will walk you through how I set up Visual Studio Code to develop python code with Anaconda virtual environment. We will install Visual Studio Code and Anaconda. In Visual Studio Code we will install some of my favourite extensions, install all dependencies for python development on Windows and execute a simple example of python code using the command line, interpreter and debugger within Visual Studio Code.
    0:00 - Intro
    0:13 - Anaconda
    2:15 - Visual Studio Code
    3:00 - Generic VS Code Extensions
    3:20 - Ayu Mirage Theme
    4:00 - Git Graph
    4:20 - Live Share
    4:45 - Material Icon Theme
    5:00 - Prettier
    5:15 - Rainbow Brackets 2
    5:45 - Todo Tree
    6:15 - GitLense
    6:30 - Formatting
    8:20 - Python
    8:35 - Black Formatter
    8:50 - Jupyter
    9:00 - Execute code using CLI
    11:00 - Execute code using Debugger in VS Code
    Anaconda (www.anaconda.com/)
    Visual Studio Code (code.visualstudio.com/)
    Generic VS Code Extensions
    Ayu Mirage Theme (marketplace.visualstudio.com/...)
    Git Graph (marketplace.visualstudio.com/...)
    Live Share (marketplace.visualstudio.com/...)
    Material Icon Theme (marketplace.visualstudio.com/...)
    Prettier (marketplace.visualstudio.com/...)
    Rainbow Brackets 2 (marketplace.visualstudio.com/...)
    Todo Tree (marketplace.visualstudio.com/...)
    GitLense (marketplace.visualstudio.com/...)
    Python VS Code Extensions
    Python (marketplace.visualstudio.com/...)
    Black Formatter (marketplace.visualstudio.com/...)
    Jupyter (marketplace.visualstudio.com/...)

ความคิดเห็น • 27

  • @hughdidit
    @hughdidit 9 หลายเดือนก่อน +10

    Thank you for this setup video. You answered so many questions that I had so much trouble finding answers to.

  • @sadiajame3015
    @sadiajame3015 10 หลายเดือนก่อน +15

    This is helpful, however, I was expecting more about using conda's related stuffs in vscode as your video title.

  • @15thMonkey
    @15thMonkey 7 หลายเดือนก่อน +9

    Thanks a lot for the video - I followed your steps and unfortunately, I'm stuck at the formatting part, as it doesn't show up in my settings ("python formatting" has no results). Do you have any suggestions where to find these settings?

  • @raheemaslam6748
    @raheemaslam6748 หลายเดือนก่อน

    Thanks Bro, you saved a lot of time.

  • @gireeswar18
    @gireeswar18 2 หลายเดือนก่อน

    Bro you are a life saver ❤

  • @malikkhan4823
    @malikkhan4823 5 หลายเดือนก่อน +1

    Anaconda comes with many modules related to data science.
    Is there any way i can use conda modules in vs code or i have to download modules for vs code seperately?

  • @dirt5506
    @dirt5506 หลายเดือนก่อน

    Thanks, greetings from Russia

  • @Komma2025
    @Komma2025 8 หลายเดือนก่อน +9

    I got completely lost at setting up the python interpreter with Anaconda. 30 minutes on extensions and 5 seconds on the most important part

    • @PhilippDominicSiedler
      @PhilippDominicSiedler  6 หลายเดือนก่อน

      What do you mean by lost? Installation of python is straight forward, essentially: next, next, next ..

  • @dwaipayandas7763
    @dwaipayandas7763 3 หลายเดือนก่อน

    Hey one question, how did you get the VS Code launch option in your Anaconda Navigator. Was VS code preinstalled in your system?

    • @peaceandlovenz
      @peaceandlovenz หลายเดือนก่อน

      This is exactly what I’m after too. Have you been successful?

  • @marktekk4982
    @marktekk4982 6 หลายเดือนก่อน

    why did you install vs code separately when it's already integrated into anaconda by default ?

    • @peaceandlovenz
      @peaceandlovenz หลายเดือนก่อน

      When I installed anaconda it did not come with vs integration. This is what I’m searching for, a way to install it to my anaconda navigator…

  • @dehkos4490
    @dehkos4490 6 หลายเดือนก่อน +2

    THANK YOU SO FUCKING MUCH

  • @izainonline
    @izainonline 9 หลายเดือนก่อน

    I hit the 100th like button I'm stuck to troubleshoot.
    Can I work on windows 8.1 as anaconda installed and older version of version studio.
    Environment is creating but unable to run Vs code inno_update.exe coming

    • @PhilippDominicSiedler
      @PhilippDominicSiedler  9 หลายเดือนก่อน

      I don’t think so: „Microsoft ended support and is no longer providing security updates for Windows 7, Windows 8, and Windows 8.1“

    • @izainonline
      @izainonline 9 หลายเดือนก่อน

      @@PhilippDominicSiedler I know but from older version if this is editor why I'm unable to run code

    • @PhilippDominicSiedler
      @PhilippDominicSiedler  9 หลายเดือนก่อน

      What’s the error?

    • @izainonline
      @izainonline 9 หลายเดือนก่อน

      @@PhilippDominicSiedler Sir
      inno_updater.exe

    • @izainonline
      @izainonline 9 หลายเดือนก่อน

      Also it is showing to update installation and then system get very slow and freezes down

  • @romanstirskyi
    @romanstirskyi 4 หลายเดือนก่อน +1

    Hi
    Please tell me this is a normal answer?
    I can't do it like You: pylint-venv pypi_0 pypi
    (base) C:\Users\one>conda env list
    # conda environments:
    #
    base * C:\Users\one\anaconda3
    (base) C:\Users\one>conda list env
    # packages in environment at C:\Users\one\anaconda3:
    #
    # Name Version Build Channel
    pylint-venv 2.3.0 py311haa95532_0
    python-dotenv 0.21.0 py311haa95532_0
    Thank You for the help

    • @sanjuhyacinth
      @sanjuhyacinth หลายเดือนก่อน

      I guess this is normal. I got the same thing yet I was able to execute all that he did

  • @ExistentialGojora
    @ExistentialGojora 3 หลายเดือนก่อน

    Love you to death, bro. But you have to speak clearly and don't mumble during the mundane parts. Your mic is picking up the room and your clickty keyboard louder than your voice. Looking forward to more projects.

  • @matthewalexander862
    @matthewalexander862 หลายเดือนก่อน

    Hey, I think you have skipped some steps. The environment variables must be set up for conda and python if you want them to work on CMD otherwise it does not. I am very surprised that you've gotten an error when you used the anaconda interpreter (the base environment) since that is the place where you have the environment variables for conda and python.
    P.S. I think this is the main reason why you have so many dislikes on this video