[SOLVED] ramp.py will not run correctly on win7 IA64

Post here to get support
Post Reply
AllanB
Beginner
Posts: 4
Joined: Mon Dec 01, 2014 1:56 pm

[SOLVED] ramp.py will not run correctly on win7 IA64

Post by AllanB »

The python libraries needed a small fix on my Win7 system before they would run.

My OS is Win7 pro, running on IA64. I am using pyusb-1.0.0a2 with libusb-win32-1.2.6.0.

If I attempt to run ramp.py with the libraries provided it throws

USBError: [Errno None] libusb0-dll:err [set_configuration] could not set config 1: win error: The parameter is incorrect.

The fix is to remove the lines

if os.name == "nt":
import usb.backend.libusb0 as libusb0
pyusb_backend = libusb0.get_backend()

from crazyradio.py

Thanks for a great product!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: [SOLVED] ramp.py will not run correctly on win7 IA64

Post by chad »

Are you using the Zadig driver or did you install pyusb manually? There is another post about this issue here.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply