OS | Version |
---|---|
Linux | Ubuntu 12.04 LTS (Precise) and later |
Windows | Microsoft Windows XP Service Pack 3, Microsoft Windows 7 and 8 |
Mac | Mac OS X 10.8.3 Mountain Lion Mac OS X 10.9.4 Mavericks |
Step | Action |
---|---|
Python Make sure to download Python 2.7 - 32 bits. You can find the installer here: http://python.org/download/ |
|
NAOqi for Python Retrieve and run the installer: pynaoqi-python-2.7-naoqi-x.x-win32.exe You can download the latest release from Aldebaran Community Website: https://community.aldebaran-robotics.com/ |
Step | Action |
---|---|
Python
|
|
NAOqi for Python Extract: pynaoqi-python-2.7-naoqi-x.x-mac64.tar.gz You can download the latest release from Aldebaran Community Website: https://community.aldebaran-robotics.com/ |
|
Set the environment variables PYTHONPATH and DYLD_LIBRARY_PATH to /path/to/python-sdk By doing for example: $ export PYTHONPATH=${PYTHONPATH}:/path/to/python-sdk
$ export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/path/to/python-sdk
|
Step | Action |
---|---|
Python Make sure to download the python-2.7 packages. You can find the installer here: http://python.org/download/ |
|
NAOqi for Python Extract: pynaoqi-python-2.7-naoqi-x.x-linux32.tar.gz You can download the latest release from Aldebaran Community Website: https://community.aldebaran-robotics.com/ |
|
Set the environment variable PYTHONPATH to /path/to/python-sdk By doing for example: $ export PYTHONPATH=${PYTHONPATH}:/path/to/python-sdk
|
Run the default IDE (IDLE) that comes with the python installer.
If you choose to use the Python2.7 from python.org:
Make sure to use /usr/local/bin/python
Try to run:
import naoqi
Simply run:
import naoqi
If you do not get any error message, congratulations ! You are now ready to use the Python SDK.
If you do get an error message, please see: Troubleshooting.
Previously, 1.10 users did not have a separate Python SDK and had to set PYTHONPATH to naoqi/sdk/lib.
This method will not work anymore, (unless you are very lucky), so please do use the new Python SDK.