Setup Raspberry Pi zero W and run python scripts and servers

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • Blog post - nagasudhir.blogspot.com/2023/...
    Playlist - • Python Setup
    Android app 📱 - play.google.com/store/apps/de...
    Table of contents - nagasudhir.blogspot.com/2020/...
    Please subscribe, like and share this video
    00:00 - Intro
    00:51 - Install Raspberry Pi OS Lite on to SD card with Raspberry Pi Imager
    05:52 - Connect to Raspberry Pi in command line with SSH
    08:31 - Copy files / folders to Raspberry Pi in command line with scp
    12:31 - WinSCP for remotely managing Raspberry Pi files
    14:25 - Install python and packages in Raspberry Pi
    16:37 - Simple pyhon flask server in Raspberry Pi
    19:27 - Run python server as a background service in Raspberry Pi
    21:32 - Run periodic scripts / cron jobs in Raspberry Pi
    25:38 - Outro
    #raspberrypi #iot #ssh #winscp #windows #setup #server #tutorial #learning #beginners #taming_python
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thanks!

  • @yournan5372
    @yournan5372 3 หลายเดือนก่อน +1

    exactly what i needed!

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

    THX!!!!!!!

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

    in my case at 16:30 (python3 -m pip install flask) i have this result To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.... etc..>> ..so, i think a step is missing..

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

      Hi, I think the linux distro is avoiding global python packages installation to avoid conflcits and encourage virtual environments.
      So to avoid this error you can either use virtual environments in your scripts or disable this error by deleting the EXTERNALLY-MANAGED file using the commands
      cd /usr/lib/python3.11
      sudo rm EXTERNALLY-MANAGED
      Hope this helps, cheers

  • @mktzzu
    @mktzzu 2 หลายเดือนก่อน +1

    how to solve no such host exist

    • @learningsoftwareskills
      @learningsoftwareskills  2 หลายเดือนก่อน +1

      Hi, you can search for the IP address by scanning the network with tools like advanced IP scanner
      Hope this helps, cheers 👍

    • @mktzzu
      @mktzzu 2 หลายเดือนก่อน +1

      @@learningsoftwareskills what abt when the rpi doesnt appear on the ip address scanner

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

      @@mktzzu that means the raspberry pi is not connected to the network. _5G WiFi is not supported in raspberry pi. Please change it to _2.5G WiFi. May be that is the issue
      Hope this helps, cheers 👍