-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi there,
I have been having the same problems as someone else, where running the code:
sudo ./strogonanoff_sender.py --channel 1 --button 4 --gpio 0 on
gives the following error:
Traceback (most recent call last):
File "./strogonanoff_sender.py", line 62, in
from WiringPin import WiringPin
File "/home/pi/git/raspberry-strogonanoff/src/WiringPin.py", line 1, in
import wiringpi
File "/home/pi/git/raspberry-strogonanoff/src/wiringpi.py", line 26, in
_wiringpi = swig_import_helper()
File "/home/pi/git/raspberry-strogonanoff/src/wiringpi.py", line 18, in swig_import_helper
import _wiringpi
ImportError: No module named _wiringpi
- I tried to reach the site with their fix but it is no longer there. I have followed your instructions: python -c 'import sys; print sys.path' and had the following results:
python -c 'import sys; print sys.path'
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']
I have moved every file into every possible place, but to no avail. I would really appreciate your help on this one; I MUST turn the lights on..!
Thanks,
Dan