View Single Post
  #2   Spotlight this post!  
Unread 16-01-2015, 14:04
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 264
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: RobotPy D eploy Error? What are we missing?

Quote:
Originally Posted by team-4480 View Post
Hi! We ran into a code deploy problem we are not sure how to fix them(first year using python). I linked the error message below. I entered in the command "py robotcode.py deploy" which brought the error message. I have robotpy installed on the roboRIO. Any help will be greatly appreciated.
You should put your robot code into its own directory. It looks like the directory where your robotcode.py is has other files in it (e.g. a pyfrc directory), so it's getting confused between the installed pyfrc (in C:\Python34) and the one in the local directory.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)