Installation of WeDo Python Support
From wikidb
Contents
Software Dependancies
Some or all of the following are required.
aptitude install python-pip aptitude install python-dev aptitude install python-usb aptitude install git
Standard install for WeDo Library - Failing
pip install wedo
A possible workaround for the missing CHANGES.rst file.
cd build/wedo/ cat one two three > CHANGES.rst python setup.py install
Workaround install for WeDo Library
git clone git://github.com/itdaniher/WeDoMore.git cd WeDoMore/ sudo python setup.py install
Fixing a Missing usb.core
This is the the symptom.
sudo python >>> from wedo import WeDo Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/wedo-1.0.0-py2.7.egg/wedo/__init__.py", line 8, in <module> import usb.core ImportError: No module named core
The problem is an old version of pyusb. It should be 1.0 ore greater. pyusb fix link
root@raspberrypi:/home/pi/wedo# ls /usr/lib/python2.7/dist-packages debconf.py python-support.pth debconf.pyc pyusb-0.4.3.egg-info distribute-0.6.24dev_r0.egg-info README easy_install.py RPi easy_install.pyc RPi.GPIO-0.4.1a.egg-info pip serial pip-1.1.egg-info setuptools pkg_resources.py setuptools.egg-info pkg_resources.pyc setuptools.pth pygame site.py pygame-1.9.1release.egg-info site.pyc pyserial-2.5.egg-info usb.so