View Single Post
  #1   Spotlight this post!  
Unread 10-01-2017, 00:07
acastagna acastagna is offline
Registered User
FRC #1493
 
Join Date: Jan 2012
Location: Albany High School
Posts: 38
acastagna is an unknown quantity at this point
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
Traceback (most recent call last):
  File "installer.py", line 1010, in <module>
    retval = main()
  File "installer.py", line 991, in main
    retval = options.cmdobj(options)
  File "installer.py", line 751, in install_robotpy
    self.install_opkg(opkg_options)
  File "installer.py", line 798, in install_opkg
    opkg = self._get_opkg()
  File "installer.py", line 676, in _get_opkg
    opkg.add_feed("http://download.ni.com/ni-linux-rt/feeds/2016/arm/ipk/cortexa9-vfpv3")
  File "installer.py", line 93, in add_feed
    self.load_package_db(feed)
  File "installer.py", line 107, in load_package_db
    for line in fp.readlines():
  File "C:\Program Files\Python36\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 7516: character maps to <undefined>
Reply With Quote