-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi there,
I have a BPI M5, debian version :
Linux bananapi 4.9.241-BPI-M5 #2 SMP PREEMPT Mon Jun 21 16:29:40 HKT 2021 aarch64 GNU/Linux
When I tried to use it I still obtain "can only be run on a Raspberry Pi!"
I did
apt-get update
apt-get upgrade
apt-get install python-dev python3-dev
python3 setup.py install
git clone https://github.com/BPI-SINOVOIP/RPi.GPIO
cd RPi.GPIO/
python3 setup.py install
python setup.py install
python RPi.GPIO/test/g40.py
BPI: gpioLayout(-1)
Traceback (most recent call last):
File "RPi.GPIO/test/g40.py", line 2, in <module>
import RPi.GPIO as GPIO
File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
I tried to upgrade RPI.GPIO from (pip/pip3) 0.6.5 to 0.7, but same issue
Any idea ?
Kind Regards
Metadata
Metadata
Assignees
Labels
No labels