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.
- You have updated Vector to OS 1.0.1 or later. Check the OS version by putting Vector on the charger, double-tapping his backpack button, and raising and lowering his arms once.
- 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:
brew update
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, navigate into the SDK folder and type the following into a Terminal window:
cd vector_python_sdk_0.5.0 python3 -m pip install .
To authenticate with the robot, type the following into the Terminal window:
cd vector_python_sdk_0.5.0 ./configure.py
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.
Note
Running configure.py will automatically download the Vector robot certificate to your computer and store credentials to allow you to connect to Vector. These credentials will be stored under your home directory in folder .anki_vector.
Warning
These credentials give full access to your robot, including camera stream, audio stream and data. Do not share these credentials.
Please see the :doc:`Troubleshooting </troubleshooting>` page for tips, or visit the Anki SDK Forums to ask questions, find solutions, or for general discussion.