Installation - macOS / OS X¶
This guide provides instructions on installing the Vector SDK for computers running with a macOS operating system.
Vector is powered on.
You have successfully created an Anki account.
Vector has been set up with the Vector companion app.
The Vector companion app is not currently connected to Vector.
Vector is connected to the same network as your computer.
You can see Vector’s eyes on his screen.
Install Homebrew on your system according to the latest instructions. If you already had brew installed then update it by opening a Terminal window and typing in the following:
Once Homebrew is installed and updated, type the following into the Terminal window to install the latest version of Python 3:
brew install python3
The Vector SDK supports Python 3.6.1 or later.
To install the SDK, type the following into the Terminal window:
python3 -m pip install --user anki_vector
To upgrade the SDK from a previous install, enter this command:
python3 -m pip install --user --upgrade anki_vector
To authenticate with the robot, type the following into the Terminal window. Note that during this configure step, your password will not show by design as a security precaution:
python3 -m anki_vector.configure
You will be prompted for your robot’s name, ip address and serial number. You will also be asked for your Anki login and password. Make sure to use the same account that was used to set up your Vector.
You will see “SUCCESS!” when this script successfully completes.
By running the
anki_vector.configure executable submodule, you will be asked to provide your Anki account credentials, and the script will automatically download an authentication token and certificate to your computer that will grant you access to the robot and his capabilities (such as camera and audio) as well as data stored on the robot (such as faces and photos).
The downloaded access token is equivalent to your account credentials. It will be stored in your user directory (~/.anki_vector) along with a robot identity certificate and other useful data for establishing a connection. Do not share your access token.
These credentials give full access to your robot, including camera stream, audio stream and data. Do not share these credentials.