rvrdata install
Normally rvrdata
is run via rover instances and as such, it is already installed.
If required, it can be installed standalone as a python module.
Installation Pre-requisites
Python 3.8 or higher is required to run rvrdata.
rvrdata is a python module and can be installed using pip. It is available from the private Autonomous Software pypi server which requires a username and password (supplied by ASI).
Setting up a venv
It is recommended to set up a virtual environment to install python modules.
To set up a new virtual environment, navigate to a directory that will house your project and use the following command:
Then to activate the virtual environment, use the following:
On Windows PowerShell, use the following command:
This should change the prompt on the cli to show (.venv)
.
Installing using pip
The following commands can be used install rvrdata from a private pypi server. This module is not available publicly so the following will only work if access is granted to the private pypi server hosted on AWS.
Replace the AWS access key and secret with supplied values.
export ROVER_ACCESS_KEY_ID=< Supplied AWS Access Key ID >
export ROVER_SECRET_ACCESS_KEY=< Supplied AWS Secret Access Key >
pip3 install rvrdata -i https://$ROVER_ACCESS_KEY_ID:$ROVER_SECRET_ACCESS_KEY@pypi.autonomoussoftware.com/private/simple --extra-index-url https://pypi.org/simple
Note: if the secret contains special characters they may need to be substituted for url encoded characters (i.e. ‘%’ and the hex number from the ascii table)