ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Remote Python Programming with VS Code and Rasberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ส.ค. 2024
  • This tutorials shows how to install and configure Visual Studio Code for remote development in Python where VS Code runs on a Windows or MacOS PC, connecting remotely to a Raspberry Pi.
    In the video I go through the entire process of software installation, extension setup and basic practices, explaining all steps in detail, and, as a bonus, show how to configure a PC for password-less login into a Raspberry Pi system.
    0:00 Intro
    1:48 Visual Studio Code Installation
    2:46 VS Code Remote - SSH Extension
    3:03 Initial Remote Connection with Raspberry Pi
    3:53 Opening Remote Program Files
    4:42 VS Code Python Extension
    5:18 Running a Python Program in VS Studio
    6:32 General VS Code Features
    8:03 Password-Less Login Setup
    10:12 Wrap-Up
    UPDATE/ADDENDUM:
    You may experience an issue where VS Code fails to connect initially to your Pi, or will not connect to your Pi after an update. Here is a possible fix:
    1. Add the following line at the end of /boot/config.txt: arm_64bit=0
    sudo nano /boot/config.txt
    2. Remove existing VS Code configuration on the PI:
    rm -r ~/.vscode-server/
    3. Reboot your Pi:
    sudo reboot
    VS Code should be able to connect afterwards.
    I really enjoy making TH-cam videos and I appreciate that you watch them. Please subscribe and like my videos and I will keep making them. Constructive criticism is always welcome!
    Disclaimer:
    "Raspberry Pi" and the distinct logo are a trademark of Raspberry Pi Foundation. "Visual Studio Code" and the distinct logo is a trademark of Microsoft Corporation.
    Music: Dreams by Bensound, www.bensound.com/

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

  • @hansratzingerselbstandiger9786
    @hansratzingerselbstandiger9786 6 หลายเดือนก่อน +1

    Great explained! Thank you so much! Even the SSH issue perfectly and easy explained!

  • @shecterelectric432
    @shecterelectric432 10 หลายเดือนก่อน +1

    Best explained videos Ive seen on raspberry topics. Thank you very much mate.

  • @user-ie6zw1rv3h
    @user-ie6zw1rv3h 10 หลายเดือนก่อน

    Excellent Work

    • @m.heidenreich
      @m.heidenreich  10 หลายเดือนก่อน

      Thanks for the visit

  • @m.heidenreich
    @m.heidenreich  ปีที่แล้ว +3

    UPDATE/ADDENDUM:
    You may experience an issue where VS Code fails to connect initially to your Pi, or will not connect to your Pi after an update. Here is a possible fix:
    1. Add the following line at the end of /boot/config.txt: arm_64bit=0
    Command: sudo nano /boot/config.txt
    2. Remove existing VS Code configuration on the PI:
    rm -r ~/.vscode-server/
    3. Reboot your Pi:
    sudo reboot
    VS Code should be able to connect afterwards.

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

    Perfect

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

    Lovely

  • @motagota2
    @motagota2 ปีที่แล้ว

    good video much easier than RDP little too verbose

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

    How to connect the raspberry pi to the PC. Ethernet, USB, wireless?

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

      Wi-Fi connection is usually the way to go and I have a tutorial for that: th-cam.com/video/QjSn33jbzFM/w-d-xo.html