RoboPy Library Help

I guess I have to be forward when I say I’m absolutely clueless with the process that goes into properly setting up the RoboPy/WPIlib for python.

I’ve included the contents of the “site-packages” from the distributed robopy directory, and have tried moving its contents into my native python’s site-packages directory (I’m using the most current version of python 3.3).

That’s all I’ve thought to do, other than replacing my current python directories with the the included “python3.2” directory found in the distributed copy robopy.

Both attempts return : “ImportError: DLL load failed: %1 is not a valid Win32 application.”

A quick check through google says that the majority of these prompts have to do with conflicts between things built for x86 and those on x86-64?

So, if any of you could explain the whole process of actually using WPIlib with acute detail I’d be giddy. Or point me towards an already existing piece of documentation that would do just that.

Thank you so much!

You cannot run WPILib/RobotPy on a PC, as the binaries are only compiled for vxWorks. If you want to run something similar to WPILib on a PC for testing purposes, check out fake-wpilib. It has a README file that talks about how to use it.

The easiest way to run RobotPy on a cRio is to download the binaries at FIRSTForge, and run the installer script to copy the appropriate files to the cRio. There is a README.txt distributed that you may find useful.