RobotPy CTRE install errors

Hello, so im trying to install Robotpy CTRE 2017 library with the following command


pip3 install roborio-ctre*.whl

and i get the error


pip3 command not found

does anyone else have this issue and know how to resolve it?

thank you for your time

Where are you executing the command? It should be executed on the RoboRIO.

Do you have RobotPy installed? It won’t work if RobotPy is not installed.

the command is being run ssh’ed into the roborio with winscp with robotpy 2017.0.3 installed

i decided to use PuTTY ( a software im more comfortable with) and i get the new following error



Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/usr/local/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/usr/local/lib/python3.6/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/usr/local/lib/python3.6/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/usr/local/lib/python3.6/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/local/lib/python3.6/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/usr/local/lib/python3.6/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/usr/local/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/site-packages/robotpy_ctre-2017.0.0.dist-info'


What user did you log in as? You need to login as admin (not mentioned in the install instructions… but hopefully will get the installer upgraded soon so you won’t need to deal with this anymore).

An installer-based approach is now available. See https://github.com/robotpy/robotpy-ctre for details