Coder Social home page Coder Social logo

RPIO install error about rpio HOT 8 CLOSED

metachris avatar metachris commented on July 29, 2024
RPIO install error

from rpio.

Comments (8)

joan2937 avatar joan2937 commented on July 29, 2024

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

from rpio.

peter-mason-dpm avatar peter-mason-dpm commented on July 29, 2024

Joan
I started with unix last century but did more hardware than software and finding what I need to do now, then how to do it is a mystery.At the dawn of the epoch with assmbler it was all more obvious.

thank you.
installing python3-dev did the trick and GPIO seems to have installed, BUT python still does not import it. Even the examples do not run.
Traceback (most recent call last):
File "/home/pi/RPIO/examples/example1_interrupts.py", line 5, in
import RPIO
ImportError: No module named RPIO

from rpio.

joan2937 avatar joan2937 commented on July 29, 2024

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.

from rpio.

peter-mason-dpm avatar peter-mason-dpm commented on July 29, 2024

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
Traceback (most recent call last):
File "igs_0v30.py", line 10, in
import RPIO as g
ImportError: No module named RPIO
pi@raspberrypi ~/Desktop/igs $

from rpio.

joan2937 avatar joan2937 commented on July 29, 2024

My pigpio library does PWM (among other things). http://abyz.co.uk/rpi/pigpio/

from rpio.

peter-mason-dpm avatar peter-mason-dpm commented on July 29, 2024

The scope looks interesting I will look at that with interest.
Does the RPi2 do C++? {seems like gcc to answer my own question}
Do you have a plan to make an analogue, with adc, version?

from rpio.

joan2937 avatar joan2937 commented on July 29, 2024

Yes, all the normal packages are available on the Pi 2. gcc supports C/C++ (and the rest) out of the box.

from rpio.

cuchiaram avatar cuchiaram commented on July 29, 2024

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

from rpio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.