jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

Doesn't import in Python 2 #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgrade to 0.4.0a-1 - get No module named RPi.GPIO in Python prog
2. Downgrade back to 0.3 - problem disappears

What version of the product are you using? On what operating system?
Using lib within Python 2

Original issue reported on code.google.com by simpl...@googlemail.com on 23 Sep 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Workaround to fix for 0.4.0a is:
sudo touch /usr/lib/python2.7/dist-packages/RPi/__init__.py

Will be resolved very shortly in 0.4.1a

Original comment by btcros...@googlemail.com on 23 Sep 2012 at 6:40

GoogleCodeExporter commented 9 years ago

Original comment by btcros...@googlemail.com on 23 Sep 2012 at 6:40

GoogleCodeExporter commented 9 years ago

Original comment by btcros...@googlemail.com on 23 Sep 2012 at 9:36