RPi.GPIO python module for Pine A64/A64+
#19
(06-17-2016, 12:57 AM)MarkHaysHarris777 Wrote: hi, make sure you're spellilng it right.

If Python can't find a module its either because you spelled it wrong, or you didn't install it correctly. Make sure you follow the instructions for installing (on git-hub)  sudo python setup.py install

... and do that from the unzipped directory.   What gnu+linux are you using?

I'm running Lenny Raposos Debian Base on Longsleep Kernel. I followed the instructions and it installs correctly. I'll double check that I'm not getting install errors.

Followed the instructions step by step and still get this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
ImportError: No module named _GPIO

If I install the original RPI.GPIO I can import it but obviously I can't use it because the pin numbers are different.

I have python-dev installed as well.
  Reply


Messages In This Thread
RE: RPi.GPIO python module for Pine A64/A64+ - by jacobscarter - 06-17-2016, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fm transmitter with gpio weasel18 2 4,858 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,619 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,199 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,285 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,921 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,778 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,859 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,276 08-17-2017, 01:21 PM
Last Post: martinayotte
  Cross-wired Uart Ports between two Pine Boards via Cat5 Cable MarkHaysHarris777 10 16,085 11-20-2016, 04:17 AM
Last Post: pfeerick
  GPIO fiq capability joseph 3 6,145 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)