Installation on Raspberry Pi

¦w¸Ëpynput¡G

pip3 install pynput

install matplotlib on Raspberry Pi:

sudo apt update
sudo apt install python3-matplotlib

¿ï¾Ütensorflow ª©¥»

pi@thuphys-20:~ $ uname -m
aarch64
pi@thuphys-20:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
pi@thuphys-20:~ $ python -V
Python 2.7.16
pi@thuphys-20:~ $ python3 -V
Python 3.7.3
pi@thuphys-20:~ $ 



In order to run lane AI:
python3 yc_lane_1.py
pip3 install -U scikit-learn
python3 -m pip install numpy
sudo python3.7 -m pip install 'numpy>1.16.5, <1.23' --force-reinstall
sudo apt install python3-matplotlib python3-tk



the list of wheels

STEPS for installing tensorflow

  1. cd to home dir
  2. cd ~
  3. make a dir TFL for installation:
  4. mkdir TFL
  5. cd TFL
  6. download the following whl file into your dir: TFL
  7. tensorflow-2.7.0-cp37-none-linux_aarch64.whl
  8. install tensorflow with the following command
  9. pip3 install tensorflow-2.7.0-cp37-none-linux_aarch64.whl
    

  10. test tensorflow:
  11. python3
    >>>import tensorflow
    >>>tensorflow.__version__
    '2.7.0'
    >>>quit()
    
  12. save the file(tf1.py) as tf1.py in TFL
  13. python3 tf1.py
  14. it shoulbd be working without any error.
  15. reboot