Ubilinux RPi.GPIO Library for Python3?

vngotl
New Member Posts: 1 ✭
Hello, I've just recently installed ubilinux on my up board and per the wiki I installed python3 with pip3 to update the RPi.GPIO library. However, when I run my programs, the default python2.7 works with the RPi.GPIO library but running this same library using python3 gives me the "This module can only be run on a Raspberry Pi!" error. Is this due to no support for the library with python3? Any help would be appreciated! Thanks!
Tagged
Categories
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral