How to Install TensorFlow 2 and OpenCV on a Raspberry Pi

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 188

  • @timothyhassett9342
    @timothyhassett9342 Год назад +2

    I tried for 3 days straight - 12 hours a day - then found your videos and got it working in the time of the video - approx 20 mins. Thank you so much.
    Also your hell handsome

  • @timdarrah2677
    @timdarrah2677 2 года назад +20

    Great video. FYI - ensure you (the audience) ``` pip install protobuf==3.20.* ``` before installing the tensorflow wheel if using tf=2.8+py=3.9 on 64bit Bullseye (aarch64). This may be true for other combinations as well (untested). This wasn't needed in the original video but due to updates over the last 6 months is now necessary.

    • @adrianric3021
      @adrianric3021 2 года назад

      thanks you bro

    • @shreyasbharadwaj4654
      @shreyasbharadwaj4654 2 года назад

      thank you so much boss

    • @roybran2
      @roybran2 Год назад

      This was huge. thanks for adding this step

    • @sharks203
      @sharks203 Год назад

      i am using raspberrypi 3b+ python3 -V = "3.7.*" AND uname -m = "armv7l" and python3 -m pip install tensorflow-2.5.0-cp37-none-linux_armv7l.whl it frezed in "Building wheel for grpcio (setup.py) " what to do??

    • @jethlacuesta7298
      @jethlacuesta7298 Год назад

      Thank you sir. I had to uninstall protobuf 4.23.4 first then install your mentioned version. 👍

  • @ufombrille
    @ufombrille 2 года назад +5

    Thank you very much!! I couldn't install tensorflow on my Pi 4, I needed to do this pip3 install --upgrade protobuf==3.20.0, since he asked me for these 2 things:
    1-Downgrade the protobuf package to 3.20.x or lower.
    2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

    • @adamgulamhusein8768
      @adamgulamhusein8768 2 года назад +8

      Hey thank you for this. I work in a lab at a hospital and this is a part of a project I'm working on. For others who may experience the same issue: I used pip uninstall protobuf; pip install protobuf==3.9.2

    • @suheladesilva2933
      @suheladesilva2933 6 месяцев назад

      Thank you so much for mentioning this@@adamgulamhusein8768

  • @steveconway5972
    @steveconway5972 9 месяцев назад +1

    Excellent video I have looked at other videos and they always say, "go do something" and presume you know how to. This video has every single step explained in detail and is really easy to follow.
    Thank You Sam for taking the time to make this video - much appreciated!

  • @Salehalanazi-7
    @Salehalanazi-7 2 года назад +2

    Dude is basically a legend

  • @mahmoudaldidamoni
    @mahmoudaldidamoni 2 года назад +2

    I learned a lot, thanks for the great tutorial, I wish everyone explains in such beautiful way

  • @user-ub8mc9zw7n
    @user-ub8mc9zw7n Год назад +4

    Hi, I followed the tutorial and made sure the version are identical, however I recieved an tensorflow.whl is not a supported wheel on this platform.

    • @suheladesilva2933
      @suheladesilva2933 6 месяцев назад

      Got the same issue, any ideas on how to resolve it?

    • @suheladesilva2933
      @suheladesilva2933 6 месяцев назад

      Hi, got it resolved. So I was using python 3.11 and when I downgraded it to 3.9.2 the issue was resolved. But I started from scratch (ie. from the start of the code of this video). I think the issue may be that tensorflow is incompatible with some of the recent python versions (not really sure about this though). Anyway, got the issue solved. Hope it helps someone.

  • @Giggle_Wiggle_
    @Giggle_Wiggle_ 2 месяца назад

    This method worked for me. Thanks a ton :-)

  • @SportsVisionbyDrLaby
    @SportsVisionbyDrLaby 2 года назад

    Excellent job! Was able to follow and get everything set up - even a s a relative Newbie to RP Thanks ...

  • @minhchaunguyen7336
    @minhchaunguyen7336 2 года назад

    This is a good tutorial, it helped me very much. I fixed the error about can't install Tensorflow on Python 3.7. Thank you very much!

  • @alouanibakir9451
    @alouanibakir9451 Год назад +5

    Hi
    Excellent job
    But I have a problem
    Error: tensorflow-2.8.0-cp39-none-lunix_aarch64.whl is not supported wheel on this platform
    If you can help me
    I have raspberry pi 4 (2ram)

  • @harikrishnasamy1551
    @harikrishnasamy1551 2 года назад

    I'm working on tensorflow this really helpful keep doing your work on raspi and make videos related to errors in raspi

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      Got any errors in particular that you would like a video about?

  • @uwelorenz4516
    @uwelorenz4516 Год назад +2

    ein erstklassiges Video !! 👍

  • @DineshOsti-mu8lp
    @DineshOsti-mu8lp Год назад

    You are great. You taught good. YOU DESERVE MORE.
    Thank You.

  • @jmvaleriano8839
    @jmvaleriano8839 Год назад +1

    Error: .whl is not a supported wheel on this platform pls help

  • @sebastiaandenhertog1716
    @sebastiaandenhertog1716 2 года назад +2

    Hi sadly i still get the not a supported wheel for this platform I have a 64bit system and I tried to install it for 3.8

  • @dawood7708
    @dawood7708 Год назад

    Jazak Allah kher , may God bless you insha Allah!!

  • @saraharbi8807
    @saraharbi8807 4 месяца назад

    Thank you for this helpful video

  • @amandak1396
    @amandak1396 6 месяцев назад

    Following your tutorial I have been very successful getting all of this to work. And have even trained a YOLOv5 model for image detection. I am having trouble with converting that best.pt file to a keras model because I cannot find a tensorflow-addons that works with this. Can you recommend a workaround.

  • @sahilsaxena5023
    @sahilsaxena5023 Год назад +1

    getting error : not a supported wheel on this platform

  • @francisluna6577
    @francisluna6577 2 месяца назад

    Why there is an error "Note selecting 'libhdf5-dev' instead of 'libhdf5-serial-dev'
    E: Unable to locate package libopenblas-base
    is there a way to solve this I can't input the additional libraries

  • @newsonsports7457
    @newsonsports7457 2 года назад

    Nice tutorial..it's really helpful for install opencv & tensorflow

  • @deepenshrestha5869
    @deepenshrestha5869 10 месяцев назад

    it was really helpful. Thank you so much

  • @BigGetit1
    @BigGetit1 Год назад

    This was so helpful, can't thank you enough, perfect video!!!

  • @hossamsamir1141
    @hossamsamir1141 2 года назад

    first I want to thank you for this clear information ,you are doing well .
    second, How could I install tensorflow on raspian as a virtual machine?

  • @issamelimrany
    @issamelimrany Год назад

    Excellent explanation, clear and to the point.

  • @roybran2
    @roybran2 Год назад +1

    Thanks for a great tutorial. Subscribe and Liked :)

  • @cosmindb9575
    @cosmindb9575 2 года назад +1

    Thanks for the tutorial. I am stuck at point "python3 -m pip install tensorflow-[Your version here].whl". When i run this command, the installation stops at " Building wheel for grpcio". The RPi become very slow and i can't do anything. I'm using RPi 3B Python 3.9.2 aarch64.
    UPDATE: I have just used the shell file with tf 2.8 python 3.9, aarch64 and np1221 and it works.

    • @anfelsebai5428
      @anfelsebai5428 3 месяца назад

      same problème how did you solve it?

  • @yogastenhie33
    @yogastenhie33 8 месяцев назад

    Im kinda new to this and I went through with python 3.11 even tho tensorflow doesn't show a supported version tryed other tutorials but couldn't get it to work i really needed to downgrade with a version that is compatiblewith the tensorflow models

  • @manuelcarriedo4404
    @manuelcarriedo4404 Год назад

    great video Sam. Thanks for sharing.

  • @cuongduongbinh4036
    @cuongduongbinh4036 Год назад

    wonderful, this is exactly what I need !! thank you

  • @carljohnjaojao8848
    @carljohnjaojao8848 2 года назад

    thank you so much, sir. This video really helped me

  • @stahelpeter
    @stahelpeter 2 года назад

    Great video and very well explained. Thank you very much

  • @mohammedalnaimi3286
    @mohammedalnaimi3286 2 года назад

    thank you so much you almost covered everything 😁

  • @lllLockonXstratoslll
    @lllLockonXstratoslll Год назад

    well presented well documented video, thank yu

  • @KAZITASNUVAALVI
    @KAZITASNUVAALVI 2 года назад +1

    getting this error " /bin/bash: ./download_tensorflow-2.5.0-cp37-none-linux_armv7l_numpy1195.sh: Permission denied"

  • @nathan-pl5yd
    @nathan-pl5yd 2 года назад +1

    I was wondering if you could do a video on object detection using openCV that runs smoothly at 20 frames or more

    • @SamWestbyTech
      @SamWestbyTech  2 года назад +1

      I can look into it. This will probably be doable if the pixels are small enough

    • @nathan-pl5yd
      @nathan-pl5yd 2 года назад

      @@SamWestbyTech Thank you

  • @baconsky1625
    @baconsky1625 2 года назад +1

    Could you perhaps make a tutorial about how to install picamera2? Or make any way of making images with you latests operating system version perhaps? The latest version of the operating system has some issues with the camera library. Much appreciated :D

    • @SamWestbyTech
      @SamWestbyTech  2 года назад +1

      I do not have a picamera but I will look into it if I get one

  • @nature-tr6sg
    @nature-tr6sg 2 года назад +1

    thank you

  • @kevinangers
    @kevinangers 2 года назад

    This was insanely helpful, thanks alot

  • @kanade4058
    @kanade4058 Год назад

    Thanks for great video sir. i currently have a project for my exam and this is help me. so far i dont have any trouble at all. but when i come to use import tensorflow.. it gave me h5py problem. from the description you suggest to install specific HDF5_Version = [Desired Version] which is confused me which one is suitable for my instalation. the UserWarning said that 'h5py is running against HDF5 1.10.6 when it was built against 1.10.4'. and i have still no ideas how to fix this. thanks for any reply.

  • @realpotiny
    @realpotiny Год назад

    This was so helpful. Thanks alot!!

  • @danyalcodes
    @danyalcodes Год назад

    Thanks brother. Really helpful

  • @redshepard5306
    @redshepard5306 2 года назад

    python3 -m pip install -U wheel mock six
    what does this command do and do we need it? its in the description but you skipped it in the video.
    thanks for everything, your videos are top quality

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      Some people were having errors so I included this command. It's not needed in most cases.
      -U: upgrade the package if it's already installed
      wheel: a tool to work with .whl files
      mock: a library for testing
      six: a Python 2 to 3 compatibility library

  • @Kaeldrom
    @Kaeldrom 7 месяцев назад

    I have an RPi5 with Raspbian Bookworm. I followed this guide and get ‘wheel not supported’
    Any ideas? Does this work yet on a Pi5?

  • @falabaguete785
    @falabaguete785 2 года назад

    Thanks for the tutorial, it helped me a lot! But thank you especially for the clear way in which you explain

  • @khalfaouimedamine2940
    @khalfaouimedamine2940 Год назад

    thank you so mush it was so helpfull

  • @franciscovelasquezferrada1165
    @franciscovelasquezferrada1165 2 года назад

    Hello, i really enjoyed this tutorial, most of all that you are using last version of all packages and that's awesome. Have you tried deepsort on a raspberry with the picamera?? Thank you !!

  • @ajitbjoseph
    @ajitbjoseph Год назад

    Hey Sam, Awesome content. I have a request - how can we stream a video from raspberry pi to a Mac/windows browser with face/eye detection running on the pi

  • @avivkarbassi7837
    @avivkarbassi7837 2 года назад +1

    Hey man you are really helpful and I appreciate you. I was wondering if you could make a video of installation of opencv tensorFlow and mediapipe because I have followed your instructions for tensorFlow and opencv in 64 bit and its not working with mediapipe,and when I downgrade python to 3.7.12 with 32 bit i have the same problem as mentioned above. Thank you so much sir for your time.

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      I’ll look into it!

    • @avivkarbassi7837
      @avivkarbassi7837 2 года назад

      Thank you so much !!! I’m so glad I have the right to learn from you! I’m really appreciate you. It’s for my final project and im really really stuck in the raspberry pi step. Dont know what to do. My code uses opencv tensorFlow and mediapipe and i don’t succeeded running it on my raspberry for 2 months!!!! Really need your help.. (3.9.2 64bit os)

    • @shashanksharma6239
      @shashanksharma6239 2 года назад

      @@avivkarbassi7837 hi did you solve this issue?

  • @furkanbaydar5706
    @furkanbaydar5706 7 месяцев назад

    Great video! But i got an error when i install the whl file. It says wheel is invalid. Do you have any idea?

    • @Kaeldrom
      @Kaeldrom 7 месяцев назад

      You got a RPi 5?

  • @aymenkerr4139
    @aymenkerr4139 2 года назад

    thank u for the tutorial ur the best , btw my camera pi v 1.2 doesn't work in my os 64bit any solution ?
    and i must use os 64 bit cuz i use pytorch in my classification and pytorch exist only in 64 bit

  • @kvakash8912
    @kvakash8912 4 месяца назад

    I am getting this error
    zipfile.BadZipFile: File is not a zip file
    while installing the wheel file

  • @Mr.Rorschakh
    @Mr.Rorschakh 2 года назад

    can you make vedio for raspberry pi 0w open cv, mediapipe and rpi-gpio

  • @saiots8651
    @saiots8651 2 года назад

    please make a video to install tensoflow and opencv without virtual environment in RPi 3

  • @nagarajanramamurthi9751
    @nagarajanramamurthi9751 7 месяцев назад

    failed - import tensorflow as tf (error: TypeError: Descriptors cannot be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
    1. Downgrade the protobuf package to 3.20.x or lower.
    2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

  • @anisakaric5130
    @anisakaric5130 5 дней назад

    Has anyone faced with error: ..cp39-none-linux-aarch64.whl is not supported wheel on this platform..? I would really need help if anyone was able to solve the error

  • @harikrishnasamy1551
    @harikrishnasamy1551 2 года назад

    how to reinstall tensorflow......if i do uninstall all packages are left in python/sitepackages how to remove all those and install newly
    Update: now I have installed TensorFlow successfully by following your steps(before some supporting packages were not installed)

  • @ernobenko7168
    @ernobenko7168 8 месяцев назад

    Thank you for the vide it is very clear and silmple with good explanation. Yet i have some issues i'd like to as for some help.
    my priority in installing is that i want openCV first installed, then TF is just secondary. Yet i am unable to install CV2, it gave me an error message, after it i started troubleshooting and found some interesting outcomes.
    i have pi model 3 B 32 bit (difficult one)
    python version is 3.9.2
    but managed the special environment issue, where i have 3.7.17 installed.
    the interestin phenomena i occured is that starting up a python shell and importing numpy simply does not work. out of the shell if i want to install, it says already installed (even within or out of the virt env) yet whenever entering a python shell, gives a message that no such package as numpy. I think this one can be a begening of my error. Any idea?
    Thank you all in advance

  • @hasrat17
    @hasrat17 Год назад +2

    when installing tensorflow it says BadZipFile: file is not a zip file

    • @kvakash8912
      @kvakash8912 4 месяца назад +1

      which file did u use

    • @hasrat17
      @hasrat17 4 месяца назад

      @@kvakash8912 Thanks for reply but its a bit late I completed that project 1 year ago 😅

    • @kvakash8912
      @kvakash8912 4 месяца назад

      @@hasrat17 oo okay
      I'm now stuck here 🥲
      Any idea bout this badzipfile

  • @muhammetozturk3327
    @muhammetozturk3327 2 года назад

    thank you man

  • @johnhonaker2926
    @johnhonaker2926 2 года назад

    Great video! Was wondering if the Tensorflow process would work on the Jetson Nano also?

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      I haven’t used the Jetson Nano but I think this process should work. It’s 64-bit and supports aarch64 (you can verify with uname -m). Especially since the Jetsen OS is based on Ubuntu

  • @user-yk7kd9dj7l
    @user-yk7kd9dj7l 2 года назад

    Thank you so much!!! U R HERO 👍

  • @aymeneabdelillahkerrouche3251
    @aymeneabdelillahkerrouche3251 2 года назад

    hi ,
    can u do a video of plant disease detection with raspberry pi with VIT thank you
    awesome video

  • @jayantimmanuelkotie4148
    @jayantimmanuelkotie4148 2 года назад +1

    Thanks for the video. I have an issue with tensorflow library. Basically I wanted to run both opencv and tensorflow for the same python code but the issue is that I have a code which requires tensorflow 1.14.0 as it has tensorflow.contrib command and similar old commands which work only with 1.14.0. I tried to edit and update my code but it has many commands and it is tedious so I followed this video and downgraded python to 3.7.4 (as I ran the same code with this version in windows and I had tensorflow lib installed too). For the sh file I chose
    `download_tensorflow-1.14.0-cp37-cp37m-linux_aarch64.sh`
    as I have RP os 64 bit and RP 4, 4 gb ram same as that used in video. So after following this command
    `python3 -m pip install tensorflow-[Your version here].whl`
    I got the error Unable to find the required version of tensorflow just the same error when I try to install tf lib directly through command `pip install tensorflow` in python 3.9.2.
    So how do I solve this issue?
    Please guide me
    Please note: I came to know about tensorflow.contrib issue when I ran the code on tf 2.8 version in python 3.9.2 as done in this video.

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      This command `python3 -m pip install tensorflow-1.14.0.whl` is important because it doesn't use the pip library. In your files, (type "ls" into the terminal) there should be a file called tensorflow-1.14.0.whl. If that is there, your installation should give a different error than the one you mentioned

    • @ufombrille
      @ufombrille 2 года назад

      Try This.. couldn't install tensorflow on my Pi 4, I needed to do this pip3 install --upgrade protobuf==3.20.0, since he asked me for these 2 things:
      1-Downgrade the protobuf package to 3.20.x or lower.
      2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

  • @ricardovazquez4333
    @ricardovazquez4333 Год назад

    why do we need the virtual environment for?

  • @user-oc6kz3gj7o
    @user-oc6kz3gj7o 8 месяцев назад

    Hey sam im installing tensorflow as per your instruction and I'm facing an error stating " ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects" while running the command HDF5_VERSION=1.10.6 pip install --no-binary=h5py h5py==3.1.0 could you please help me rectify it?

  • @Ducerobot
    @Ducerobot Год назад

    Well its back to the jetson nano.❤

  • @Dr.AhmedQusaySabri
    @Dr.AhmedQusaySabri Год назад

    Thanks a lot

  • @md.shakibuddin2740
    @md.shakibuddin2740 2 года назад

    I successfully installed tansorflow & opencv in raspberry pi 3b exactly show in tutorial & it work perfectly but after next day when import cv2 or import tansorflow it show bash command not found

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      Don't forget to reactivate your virtual environment

  • @junjielim6734
    @junjielim6734 2 года назад

    Fyi, I still failed to install tf2.5 with numpy==1.19.5, raspbian 64 bit bullseye, python3.9 , aarch64 even though I am using the correct whl file. The error ERROR: No matching distribution found for tensorflow-2.5.0-cp39-none-linux_aarch64_numpy1195.sh still happens, may I know how to fix it?

    • @user-tp6uv9qz1c
      @user-tp6uv9qz1c 6 месяцев назад

      same here, did you find any solution?

  • @sarveshrodi33
    @sarveshrodi33 Год назад

    When I run script on thonny python it shows no module tensor flow... How to import tensor flow without env or how to run env on reeboot

  • @jaysonpaspe6113
    @jaysonpaspe6113 2 года назад

    hi can you do steps on how to install PyQt5 in raspi 3b+ 64bit debian 11? thankyou

  • @DukeDamaz
    @DukeDamaz 4 месяца назад

    i keep getting stuck at the building wheel for h5py and it just doesnt load. no error no nothing just keeps loading and doesnt go anywhere from there. please help

    • @gxdx697
      @gxdx697 3 месяца назад +1

      hello did you solve this problem?

    • @DukeDamaz
      @DukeDamaz 3 месяца назад

      @@gxdx697 i directly installed tensorflow lite using sudo apt get instead of using a wheel file and it worked

  • @EmrysSniper
    @EmrysSniper 2 года назад

    Hello, please I am getting an error when i import tensorflow as tf. something like Tradeback (most recent call last): file "", line 1, in and so on. I have raspberry pi 4 64 OS bit with python 3.9 version aarch64

  • @harikrishnasamy1551
    @harikrishnasamy1551 2 года назад

    After installing TensorFlow I have tried to import it in a python environment and that returns this error......ImportError: cannot import name 'minidom' from 'xml.dom' (unknown location)

  • @farisalafndi1331
    @farisalafndi1331 Год назад

    hi could you help me installing opencv and the latest version of mediapipe I have been trying but I could not

    • @SamWestbyTech
      @SamWestbyTech  Год назад

      I’ll add things with mediapipe to my list

  • @kevansx1000
    @kevansx1000 2 года назад

    Was getting "TypeError: Descriptors cannot not be created directly." Error when importing tensorflow. Needed to downgrade protobuf with this command. pip install --upgrade "protobuf

    • @tharindumadhuranga8340
      @tharindumadhuranga8340 2 года назад +1

      Sometimes the protobuf package might be installed without your involvement. For this, you have two solutions to apply. Try one of the below solutions and it should work.
      Solution 01:-
      You can downgrade the protobuf plugin,
      pip install protobuf==3.20.*
      or you can add it to the requirements.txt file as the last package. Because this will override the previously installed protobuf package.
      ...
      protobuf==3.20.*
      Solution 02:-
      You can set the following environment variable.
      export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python

  • @MAlImranBinSalim
    @MAlImranBinSalim 2 года назад

    Hi. I got error when install the tensorflow, I'm downloading tensorflow 2.0.0 64bit but when i use the pip install with whl file the output is error invalid whl file
    I'm using pyenv python 3.7.6
    Raspberry pi 4b
    Helppppppp.....!!!!!

  • @neilangelobellen7635
    @neilangelobellen7635 2 года назад

    Hii im having errors on importing the cv2. It always shows "ImportError: numpy.core.multiarray failed to import"

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      Try `pip install --upgrade numpy`. I'm guessing you have an old version of numpy

  • @ardaucar9006
    @ardaucar9006 7 месяцев назад

    For those that could not get it working:
    try:
    sudo apt update
    sudo apt upgrade
    sudo apt install -y libhdf5-dev libc-ares-dev libeigen3-dev
    sudo apt install -y python3-pip
    pip3 install tensorflow
    can also add specific version by:
    pip3 install tensorflow==2.5.0
    then:
    python3
    import tensorflow as tf
    print(tf.__version__)
    quit()

  • @siddharamdivate9710
    @siddharamdivate9710 2 года назад

    Hey, I followed your steps and installed python 3.7.12 along with opencv-python , i can access the opencv from the terminal but not in thonny python. Why is that ?

    • @SamWestbyTech
      @SamWestbyTech  2 года назад +1

      You won’t be able to access this in thonny. You can write the scripts in python, but you have to run the script in the terminal. Changing python versions with pyenv does not change python versions in thonny

    • @siddharamdivate9710
      @siddharamdivate9710 2 года назад

      @@SamWestbyTech so, how can we access opencv from thonny ide ?

  • @sandilyatata2975
    @sandilyatata2975 Год назад

    When I'm trying to install opencv and while importing it is showing numpy.core.multiarray import error 🥺 can anyone solve this i have to complete my project

  • @jomarialano8941
    @jomarialano8941 Год назад

    Hello sir. I want install tensorflow lite but I install raspberry pi desktop(x86_64) version on virtual Box. Is there's any way to download tflite?

    • @SamWestbyTech
      @SamWestbyTech  Год назад

      I haven’t used virtual box. Do you get stuck at a certain point in the tutorial?

    • @Eckxter
      @Eckxter Год назад

      @@SamWestbyTech I believe I am in the same situation, so I think he's getting stuck at 3:34. I am also running a virtual Pi in VirtualBox and the command "uname -m" is giving me "x86_64". So I don't really know which .sh script to pick.

  • @kevindwi7757
    @kevindwi7757 2 года назад

    When i install pip install tensorflow-2.5.0….. i got error wheel is invalid, why this is happen?

  • @saiots8651
    @saiots8651 2 года назад

    nice video bro ... but make the same for pi 3 please ...

  • @mvisnjic
    @mvisnjic 2 года назад

    I tried to install tensorflow, and keep getting an error in pyenv.
    Then, I installed the raspian 64-bit and fix the problem.

  • @dungphantan792
    @dungphantan792 2 года назад

    What version of Raspberry are you using?

  • @mithi4377
    @mithi4377 Год назад

    Github raw file is not opening what to do??

  • @lazy.researcher
    @lazy.researcher Год назад

    installment of librosa ..... please

  • @hri7ik
    @hri7ik 2 года назад +1

    hey man! really like your tutorials! But in this case I am getting the following error:
    "ERROR: Wheel 'tensorflow' located at /home/pi/Desktop/project/tensorflow-2.5.0-cp37-none-linux_armv7l.whl is invalid."
    ps. im trying to install tensorflow in Raspberry pi 2 B with python 3.7.12

    • @SamWestbyTech
      @SamWestbyTech  2 года назад +1

      Ok double check your python version is 3.7 with “python -V”
      Double check you have armv7l with “uname -m”
      Let me know the output of these

    • @hri7ik
      @hri7ik 2 года назад

      @@SamWestbyTech yeah it's showing python 3.7.12 and armv7l as outputs

    • @julianhernandez8992
      @julianhernandez8992 2 года назад +1

      @@SamWestbyTech having the same problem

    • @julianhernandez8992
      @julianhernandez8992 2 года назад +1

      @@hri7ik It's the linux version one

    • @avivkarbassi7837
      @avivkarbassi7837 2 года назад +1

      Same problem here plz plz help!!!

  • @sarthakdas6059
    @sarthakdas6059 Год назад

    15:45 open cv

  • @avivkarbassi7837
    @avivkarbassi7837 2 года назад

    Hi sir, I manage to change from 3.9.2 to 3.7.12, but when I open the Python in Raspberry Pi, it reappears as 3.9.2
    You know maybe how do I set this to default in thonny?

    • @siddharamdivate9710
      @siddharamdivate9710 2 года назад

      Yeah, Same for me

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      Pyenv does not change python versions in thonny. You’ll have to run the script from the terminal instead of from thonny. Or you’ll have to follow a different method to change python versions in thonny

    • @avivkarbassi7837
      @avivkarbassi7837 2 года назад

      Ok sir so how can I change python version in thonny ?

    • @tuvsheecs4883
      @tuvsheecs4883 2 года назад

      Same. Tensorflow cant install python 3.9.2

    • @poojagulhane7413
      @poojagulhane7413 2 года назад

      @@avivkarbassi7837 hey did you got solution on that?

  • @DrTLN
    @DrTLN 11 месяцев назад

    is this works on python 3.11.2

  • @amirgharghabi1970
    @amirgharghabi1970 2 года назад

    thanks for your excellent video.
    When I type pyenv install 3.7.12, it gets stuck on "patching file configure" and doesn't move on. how can I fix it?
    I also tried other versions of python still not working. RP 3B 32bit armv7l current py version: 3.9.2

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      How long have you let it run? This step takes a while

    • @amirgharghabi1970
      @amirgharghabi1970 2 года назад

      @@SamWestbyTech about 20 mins.
      but then I changed my os to 64bit and as I didn't need to change my python version anymore, so the problem is solved automatically :)

    • @SamWestbyTech
      @SamWestbyTech  2 года назад

      @@amirgharghabi1970 Glad to hear you got it working!

  • @kearneyIT
    @kearneyIT 2 года назад

    your vide are kick ass please do a bignners tutorial on OpenCV and TensorFlow and make it for "dummies"

    • @kearneyIT
      @kearneyIT 2 года назад

      just like my writing haha

  • @harshpatil6167
    @harshpatil6167 2 года назад +1

    देवमाणूस(God) Bro🙏🙏

  • @eartharcher8369
    @eartharcher8369 11 месяцев назад

    I got an error on " import tensorflow as tf"
    >>>UserWarning: h5py is running against HDF5 1.10.6 when it was built against 1.10.4, this may cause problems
    '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)

  • @frankvanderborg
    @frankvanderborg Год назад

    Thank you Sam for a very good video and instructions, it works very well using RPI-4, python 3.9.2. and 64 bits Bullseye. Am I correct that Picamera (after the installation) as a library is no longer available?

    • @frankvanderborg
      @frankvanderborg Год назад

      small update : cap = cv2.VideoCapture(0 or 1) works for both camera's, from picamera2 import Picamera2 still gives the error: ModuleNotFoundError : No module named 'picamera2' .

  • @joshuadsouza2122
    @joshuadsouza2122 Год назад

    thanks bro