This guide provides instructions on installing the Cozmo SDK for computers running with an Ubuntu Linux operating system.
Install Python For instructions on running Python under Windows, see the Python Windows FAQ. To run Python from the Command Prompt, you need to add the folder that contains Python to the list of folders Windows searches for commands. No need to install Python Tkinter/tkinter package. Category People & Blogs; Show more Show less.
Warning
The Cozmo SDK is tested and and supported on Ubuntu 14.04 and 16.04. Anki makes no guarantee the Cozmo SDK will work on other versions of Linux. If you wish to try the Cozmo SDK on versions of Linux other than Ubuntu 14.04 or 16.04, please ensure the following dependencies are installed:
- Python 3.5.1 or later
- pip for Python 3 (Python package installer)
- Android command-line tools (https://developer.android.com/studio/index.html#Other)
- usbmuxd for iOS / :ref:`adb` for Android
Ubuntu 14.04
Python Installation
- Type the following into your Terminal window to install Python 3.5:
- Then, install and set up virtualenv:
- Last, make sure to activate the virtualenv any time you use cozmo:
Note
You'll need to activate the virtualenv before running any python or pip commands. Learn more about virtualenv here.
SDK Installation
To install the SDK, type the following into the Terminal window:
Note that the [camera] option adds support for processing images from Cozmo's camera.
SDK Upgrade
To upgrade the SDK from a previous install, enter this command:
Ubuntu 16.04
Python Installation
- Type the following into your Terminal window to install Python:
- Then install pip by typing in the following into the Terminal window:
- Last, install Tkinter:
SDK Installation
To install the SDK, type the following into the Terminal window:
Note that the [camera] option adds support for processing images from Cozmo's camera.
SDK Upgrade
To upgrade the SDK from a previous install, enter this command:
Mobile Device Setup
- iOS devices require usbmuxd in order to run the Cozmo SDK. Usbmuxd is required for the computer to communicate with the iOS device over a USB cable.
- Android devices require installation of :ref:`adb` (adb) in order to run the Cozmo SDK. This is required for the computer to communicate with the Android mobile device over a USB cable and runs automatically when required.
![Download tkinter Download tkinter](/uploads/1/2/5/5/125519043/320810887.jpg)
Troubleshooting
Please see the :ref:`trouble` section of the Initial Setup page for tips, or visit the Cozmo SDK Forums to ask questions, find solutions, or for general discussion.
![Install Install](http://i.stack.imgur.com/UafTK.png)
Terms and Conditions and Privacy Policy