Using an Arduino with Python LESSON 2: Installing and Configuring Python and Visual Studio



In this I show how to install and configure Python and Visual Studio Code. This will ensure your system is configured exactly like mine. This will help make sure all my instructions work properly on your system. In this class, we will be using an Elegoo Super Starter Kit, available below (affiliate link):

https://amzn.to/3outGb1

With this kit, we will will both be working on the same hardware which will make your life and my life easier.

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

https://www.patreon.com/PaulMcWhorter

#Python
#Tutorial
#Arduino

[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]

source

29 thoughts on “Using an Arduino with Python LESSON 2: Installing and Configuring Python and Visual Studio

  • January 19, 2022 at 6:14 am
    Permalink

    Great lesson, got it installed on my mac air. I am Legend! Do we have to set up the python virtual environment every time we reopen VC?
    How deep is the Nile behind you? Beware the Nile crocodiles!! Seen any?

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Hi Paul, I’ve been using pySerial for my safe cracker project and Python 3.8.10. I upgraded Python to 3.9.9 but now Visual Studio Code won’t recognize import serial. I tried to reinstall it but it says it’s already installed. I’m also using Linux Mint. This is quite the mixup of versions which Visual Studio is getting mixed up with. I think I’ll try continuing with 3.8 since everything is working there. Please don’t make me buy a Windows laptop. Bill Gates already has enough of my organs.

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    This is something worth waiting for. Thanks for this lessons!! God bless you !!

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Would you please explain the different ways we are importing modules. One way is to use only the import statement and the other way we use from vpython import *? Curious in Linux.

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Great video Paul. Also great is that your time zone doens't differ too much now from where I live, which is great for live streaming 😉

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Sir I have python 3.7.4 version with all necessary setup would it will go smooth further?

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    wait, that is the nile? I watched your tour of your setup but didn't know that was the nule.

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Paul, some people had problems including something about an indentation, i have found out that the python in the terminal has to be closed or you get that problem

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    My desire is that everyone should know how to code hardware and have an amazing girlfriend ( or boyfriend if you happen to be a girl). Paul's course will help for sure with both …just do a few lessons well, create something, and show it to the girl ( or boy) you fancy…

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    I see you changed the day of week and 30 minutes earlier. Will try to be on time, looking forward to more Great Lessons.

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    I see you changed your mind about putting in this series on how to set up Python on Visual Studio Code. In your introduction you suggested we look at your previous videos, which I did. I already had VSC installed for PlatformIO for WS2812B controller using ESP32, and have Python installed for your IMU series. All that was left was to plug in Python into VSC.
    All set!

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    Do you have a tutorial on using the arduino as a music player using and sd card module. There are some videos out there on it but most are veg and just rush through it. Thanks

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    The shirt hits different when you have watched the arduino series! So happy to see it again!

    Reply
  • January 19, 2022 at 6:14 am
    Permalink

    I am an English teacher in a poor area in China. I really love your lessons. I have learned a lot about Arduino through your Arduino lessons. And now I am teaching my students Arduino lessons. They are super interested! That impressed me! What a wonderful world!

    Reply

Leave a Reply

Your email address will not be published.