Installation - Windows¶
This guide provides instructions on installing the Vector SDK for computers running with a Windows 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.
Download the Python 3.6.1 (or later) executable file from Python.org and run it on your computer.
Be sure to tick the “Add Python 3.6 to PATH” checkbox on the Setup screen. Then tap “Install Now” and complete the Python installation.
To install the SDK, type the following into the Command Prompt window:
py -3 -m pip install --user anki_vector
If you encounter an error during SDK installation, you may need to upgrade your pip install. Try
python -m pip install --upgrade pip or
py -3 -m pip install --upgrade pip
If you encounter an error during SDK installation, you may need to upgrade your Python Setuptools. Try
py -3 -m pip install --upgrade setuptools
To upgrade the SDK from a previous install, enter this command:
py -3 -m pip install --user --upgrade anki_vector
To authenticate with the robot, type the following into the Command Prompt window. Note that during this configure step, your password will not show by design as a security precaution:
py -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.