-
-
Notifications
You must be signed in to change notification settings - Fork 147
RPIO install error #54
Comments
It looks like you haven't got the Python development environment. sudo apt-get install python-dev and/or sudo apt-get install python3-dev |
Joan thank you. |
I've just installed for python 2 and 3 and both work. You have to launch Python with sudo to be able to import the module. It does not work on the new model Pi 2. |
I have RPi2. I would like a good pwm module. I am running python 3 under IDLE pi@raspberrypi ~/Desktop/igs $ sudo python3 igs_0v30.py |
My pigpio library does PWM (among other things). http://abyz.co.uk/rpi/pigpio/ |
The scope looks interesting I will look at that with interest. |
Yes, all the normal packages are available on the Pi 2. gcc supports C/C++ (and the rest) out of the box. |
Wow closed back in 2015....I must be goofy because this should now be seamless but I've tried all online recommendations to get my Pi 3B with Raspian to recognize RPIO in any way form or fashion. hmmmm |
I did this on my RPi2
$ sudo apt-get install python-setuptools
$ sudo easy_install -U RPIO
and got this
pi@raspberrypi ~/RPIO $ sudo easy_install -U RPIO
Searching for RPIO
Reading http://pypi.python.org/simple/RPIO/
Best match: RPIO 0.10.0
Downloading https://pypi.python.org/packages/source/R/RPIO/RPIO-0.10.0.tar.gz#md5=cefc45422833dcafcd59b78dffc540f4
Processing RPIO-0.10.0.tar.gz
Running RPIO-0.10.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iyUVZN/RPIO-0.10.0/egg-dist-tmp-mlGrcH
source/c_gpio/py_gpio.c:28:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
I tried this
$ git clone https://github.com/metachris/RPIO.git
$ cd RPIO
$ sudo python setup.py install
with a similar result.
can anyone tell me what I need to do please?
The text was updated successfully, but these errors were encountered: