Go to Post Its a good bug too. :) - spadercool [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-06-2013, 21:51
TheSmores TheSmores is offline
Registered User
AKA: Charlie Miller
FRC #5102 (Santa Maria PAL)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: California
Posts: 5
TheSmores is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 27-06-2013, 13:32
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,040
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: RoboPy Library Help

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.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi