Can some one help me find the correct instructions for installing python with GPIO on my Pi. I'm running ubuntu and I just finally got ROS to install and really don't want to screw it up.... Right now if I run a python script GPIO does not work.
Originally posted by swilker on ROS Answers with karma: 51 on 2016-01-09
Post score: 0
Original comments
Comment by nickw on 2016-01-09:
What have you installed so far. What version of ubuntu are you using. You say it doesn't work, can you provide an example of what you do and what happens - do you get errors - if you do please post them
Comment by NEngelhard on 2016-01-09:
How do you talk to the Pins? I'd bet on missing privileges. I'm using the wiringPi library that provides ways to access to Pins also as normal user.
Comment by swilker on 2016-01-09:
I've installed a button on the Pi-2. Example at: http://iot-projects.com/index.php?id=raspberry-pi-shutdown-button, worked fine on my Raspbian copy. When I run it on my Ubuntu Ros version I get Import Error no Module named RPi.GPIO the basic python commands work... I believe I have Ubuntu 13.10
Comment by swilker on 2016-01-09:
Tried this, no luck
http://askubuntu.com/questions/295937/how-to-install-python-3-2-in-ubuntu-13-04