Win Conda 64-bit - No pysdl2 installation found

Firmware/software/electronics/mechanics
Post Reply
MikeWise1618
Beginner
Posts: 6
Joined: Sun May 22, 2016 9:02 am

Win Conda 64-bit - No pysdl2 installation found

Post by MikeWise1618 »

Trying to get the cfclient running under 64-bit Anaconda because I want to use the large memory for some things. I followed the instructions here (https://github.com/bitcraze/crazyflie-c ... /README.md) but now I am getting:
CRITICAL:cfclient.gui:No pysdl2 installation found, exiting!
When I try and run it. Any ideas?
MikeWise1618
Beginner
Posts: 6
Joined: Sun May 22, 2016 9:02 am

Re: Win Conda 64-bit - No pysdl2 installation found

Post by MikeWise1618 »

Okay, by looking at the installation messages I realized I was getting the 32-bit SDL. So I downloaded the current version from https://www.libsdl.org/release/. I used the version SDL2-2.0.4-win32-x64.zip.

Now it starts at least (opens the window and I can operate) but it can't seem to find the crazyfile radio dongle, even though the cfclient running in my Ubuntu VM sees it just fine...

I am also getting the message:
WARNING:cflib.crtp.usbdriver:Exception while scanning for Crazyflie USB: No backend available
which could be related I suppose.
MikeWise1618
Beginner
Posts: 6
Joined: Sun May 22, 2016 9:02 am

Re: Win Conda 64-bit - No pysdl2 installation found

Post by MikeWise1618 »

Okay, fixed that one too. Had to install another usb library from https://sourceforge.net/projects/libusb ... s/1.2.6.0/

I downloaded libusb-win32-devel-filter-1.2.6.0.exe and installed it, then configured it with "INFwizard" to filter to the two Crazyflie devices, "Crazyflie 2.0" and "Crazyradio PA USB Dongle".

Some docs on libusb here: http://www.libusb.org/wiki/libusb-win32.

After that it worked fine and I could control it with my Sabrent USB PS3 controller. Worked better when I selected the interface to be USB://0 rather than radio://0... - the latter drops packets and disconnects, have to look into that next.
Post Reply