Ubuntu 14.04 with RPi.GPIO problem
Options
ihab zhaika
New Member Posts: 3 ✭
hey,
i followed the guide of installing Ubuntu and then using the up-kernel , i tried the internal leds and they working
now i tried to follow this
https://up-community.org/wiki/RPi.GPIO
i installed the rpi.gpio from python pip because when i tried to use the
so when i try to use the library , this line specificity
so from where i can get the patched rpi.gpio ?
i followed the guide of installing Ubuntu and then using the up-kernel , i tried the internal leds and they working
now i tried to follow this
https://up-community.org/wiki/RPi.GPIO
i installed the rpi.gpio from python pip because when i tried to use the
sudo apt-get install python-rpi.gpiogives me
E: Unable to locate package python-rpi.gpio E: Couldn't find any package by regex 'python-rpi.gpio'the ppt already added which is [ ppa:ubilinux/up ]
so when i try to use the library , this line specificity
import RPi.GPIO as GPIOgives
/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py in <module>() 21 """ 22 ---> 23 from RPi._GPIO import * 24 25 VERSION = '0.6.2' RuntimeError: This module can only be run on a Raspberry Pi!
so from where i can get the patched rpi.gpio ?
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral