After executed the followings commands, app python3 crash:
rp01@rp01:~$ sudo python3
[sudo] password for rp01:
Python 3.4.3 (default, Mar 26 2015, 23:09:09)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
mode = GPIO.getmode()
print(mode)
11
GPIO.setwarnings(False)
ver = GPIO.RPI_INFO
print(ver)
{'REVISION': 'a01041', 'TYPE': 'Pi2 Model B', 'MANUFACTURER': 'Sony',
'P1_REVISION': 3, 'RAM': '1024M', 'PROCESSOR': 'BCM2836'}
rev = GPIO.RPI_REVISION
print(rev)
3
GPIO_VER = GPIO.VERSION
print(GPIO_VER)
0.5.11GPIO.setup(1, GPIO.OUT)
. . . Application python3 crash . . .
Release 15.04(vivid)
Kernel Linux 3.18.0-23-rpi2
MATE 1.8.2
Hardware:
Memory 923,9 MiB
processor 0: ARMv7 Processor rev 5 (v7)
processor 1: ARMv7 Processor rev 5 (v7)
processor 2: ARMv7 Processor rev 5 (v7)
processor 3: ARMv7 Processor rev 5 (v7)
System Status
Available disk space: 11,8 GiB
any support to fix this problem is welcome.
Tks.Rgds.
I have the same problem using python2. I also use ubuntu mate.
Is this still a problem using the latest RPi.GPIO and Ubuntu?