ImportError:python2.7/dist-packages/RPIO-2.0: undefined symbol: makedev [closed]

asked 2019-11-13 02:02:17 -0500

given001 gravatar image

updated 2019-11-13 02:05:28 -0500

Hi. I don't know if this is the right place to ask. I am running a face recognition using OpenCV python on Raspberry Pi.

pi@raspberrypi:~/facerec-pi/code $ sudo python capture-positives.py
     Tradeback (most recent call last):
            File "capture-positives.py", line 14, in <module>
                 import hardware
            File "/home/pi/facerec-pi/code/hardware.py", line 9, in <module>
               from RPIO import PWM
           File "build/bdist.linux-armv7l/egg/RPIO/PWM/__init__.py", line 60, in <module>
           File "build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py", line 7, in <module>
           File "build/bdist.linux-armv7l/egg/RPIO/PWM/_PWM.py", line 6, in __bootstrap__
           ImportError: /root/.cache/Python-Eggs/RPIO-2.0.0b1-py2.7-linux-armv7l.egg-tmp/RPIO/PWM/_PWM.so: undefined symbol: makedev

This is what the terminal return after I run the program.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2019-11-13 02:05:29.984736

Comments

I don't know if this is the right place to ask.

sorry, but it isn't (entirely unrelated to opencv) , you'll have to ask elsewhere.

berak gravatar imageberak ( 2019-11-13 02:05:12 -0500 )edit

@given001. I'm using python 3. Sorry.

supra56 gravatar imagesupra56 ( 2019-11-13 06:45:55 -0500 )edit

Post the code for line 6.

supra56 gravatar imagesupra56 ( 2019-11-13 06:47:48 -0500 )edit