![]() |
error installing robotpy
My team has just started exploring the use of python and we are having some trouble installing robotpy on our PC (windows 10). We have installed python3.6 and pyfrc, and imaged the roborio without any issues. We downloaded the zipped robotpy file from GitHub, extracted the file, and used py -3 installer.py install-robotpy as specified in the robotpy documentation. That gives us the following error. An online search suggests an encoding issue. Does anyone have any suggestions on where to go from here?
Code:
C:\Users\falcons1493\robotpy\robotpy-2017.0.0> py -3 installer.py install-robotpy |
Re: error installing robotpy
An update was just released for pyfrc. Update it. You may run into another error about python36. I believe an update for that is coming out tonight.
|
Re: error installing robotpy
|
Re: error installing robotpy
The bug is fixed in RobotPy 2017.0.1, sorry for the inconvenience.
|
Re: error installing robotpy
Thank you!
I'll trying update it tonight. |
Re: error installing robotpy
I can now run python code on the roborio using the command line to deploy.
If I use eclipse as my IDE can I deploy directly from there? When I try a "Run As/Python Deploy" the following error occurs: Unexpected error Illegal character in path at index 16: file:/C:/Program Files/eclipse-java-neon-1a-win32-x86_64/eclipse/configuration/org.eclipse.osgi/494/0/.cp/resources/py/preexec.py Am I missing something in the setup for eclipse? |
Re: error installing robotpy
Quote:
But yes, you can use Eclipse + Pydev + RobotPy. There's some documentation about using RobotPy with Eclipse + Pydev: http://robotpy.readthedocs.io/en/sta....html?#eclipse . I've been meaning to update the documentation, but been busy. |
Re: error installing robotpy
Thank you - I was using the plug-ins and had missed the part in the documentation about the adding the deploy argument in the run configuration.
I guess I shouldn't be using the plug-ins if they are not updated. I had also installed pyfrc and robotpy on two other laptops which are running Window 8, and I found that I don't get the illegal character error on those machines. What do teams using python use when programming - Eclipse, Idle, something else? |
Re: error installing robotpy
We use Wing IDE. I'm a big fan of it, use it on my day job. It also has a nice scripting API and we were able to make a simple command to deploy code to the RoboRio, copy GRIP config files over SFTP, etc.
|
| All times are GMT -5. The time now is 14:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi