RPi.GPIO python module for Pine A64/A64+
#95
Has there been any change in this of late? I'm trying to resurrect some old python2 code on my pine64s (and port it to python3) but installing via library by cloning the repo and doing a `sudo python setup.py install` on a fresh build of Manjaro ARM is getting me the dreaded errror:
Code:
Traceback (most recent call last):
  File "./pine64-fan-control.py", line 9, in <module>
    from RPi import GPIO as GPIO
  File "/usr/lib/python3.8/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!

Idealy I'd install it in a venv, but I'm not that far yet, and I've not installed the 'official' RPI version, so basically no idea what's going on now!
  Reply


Messages In This Thread
RE: RPi.GPIO python module for Pine A64/A64+ - by pfeerick - 05-22-2020, 08:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fm transmitter with gpio weasel18 2 4,752 09-10-2019, 04:28 AM
Last Post: desai_amogh
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,546 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 10,958 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,044 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,755 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,162 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,586 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 20,939 08-17-2017, 01:21 PM
Last Post: martinayotte
  Cross-wired Uart Ports between two Pine Boards via Cat5 Cable MarkHaysHarris777 10 15,728 11-20-2016, 04:17 AM
Last Post: pfeerick
  GPIO fiq capability joseph 3 6,011 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 2 Guest(s)