dmcg / raspberry-strogonanoff

Raspberry Pi Remote Mains Switcher
68 stars 23 forks source link

"no module named wiringpi" #6

Closed NeilPittaway closed 10 years ago

NeilPittaway commented 10 years ago

Hi there,

love the look of this project but just seem to be banging my head against the wall with the above error.

I've done a complete, fresh install of Wheezy from NOOBS (latest download as of Sat 1st Feb 2014), install all updates and RPi firmware (as per DomotiGa wiki - http://www.domotiga.nl/projects/domotiga/wiki/Hardware_RaspberryPi) and followed all steps from readme as accurately as I can.

All steps go well without errors and restarts are performed when requested.

After following the installation guide in the readme, there's no mention of where to extract the strogonanoff.py files but I've tried running them from several places including /WiringPi-Python and /WiringPi-Python/WiringPi/wiringPi/

Can anyone offer any guidance? Is this a bug caused by one of the updates?

Thanks,

Neil strogonanofferror

dmcg commented 10 years ago

Looks like a path issue, can you run python -c 'import sys; print sys.path' and paste the results

NeilPittaway commented 10 years ago

Hi Duncan,

Can’t thank you enough for taking the time to respond.

I’ve just this second managed to get the issue resolved. I found this blog post - http://blogs.foomatic.org/blink-away-the-tears/ - and followed all of the instructions (even if I’d already done them, just for confirmation) and now the Python script is working without errors!

Would I be right in thinking that as part of the Python re-install, one of the options had added the missing path/s?

If I can help you out in any way (Microsoft and networking are at my core), just let me know.

Thanks again,

Neil

From: Duncan McGregor [mailto:notifications@github.com] Sent: 02 February 2014 20:06 To: dmcg/raspberry-strogonanoff Cc: Neil Pittaway Subject: Re: [raspberry-strogonanoff] "no module named wiringpi" (#6)

Looks like a path issue, can you run python -c 'import sys; print sys.path' and paste the results

— Reply to this email directly or view it on GitHubhttps://github.com/dmcg/raspberry-strogonanoff/issues/6#issuecomment-33910825.

Neil Pittaway

Technical Director +44 (0) 1482 831100

neil.pittaway@stonemere.commailto:neil.pittaway@stonemere.com

[cid:image77a388.PNG@4d97e6aa.4fa73a82]http://www.stonemere.com

Registered Office: Stratsource House, Malmo Road, Sutton Fields Industrial Estate, Hull, East Yorkshire, HU7 0YF Registered in England and Wales Company Number: 5618876 VAT Number: GB886434973 Confidentiality Notice & Privacy: This e-mail is confidential and is intended only for the use of: reply@reply.github.com

This email may contain commercially sensitive or legally privileged information. Any use, dissemination, forwarding, printing or copying of it by any other person is strictly prohibited. If you have received it in error please notify us immediately and then delete the message from your system.

Please consider the environment before printing this email