See also
Overview | C++ | Python | .Net | Java | Matlab | Urbi
Python SDK | Python SDK Install Guide | Python tutorials | Python Examples | Python SDK tips and tricks
Step | Action |
---|---|
Python Make sure to download Python 2.7 - 32 bits. You can find the installer here: http://python.org/download/ |
|
Retrieve and run the NAOqi for Python installer: pynaoqi-python-2.7-naoqi-x.x.win32.exe You can download the latest release from the Aldebaran Community Website. |
Step | Action |
---|---|
Python Choose between these 2 options:
or
|
|
NAOqi for Python According to your choice, extract:
You can download the latest release from the Aldebaran Community Website. |
|
Set the environnement variable PYTHONPATH to /path/to/python-sdk |
Step | Action |
---|---|
Python Choose between these 2 options:
You can find the installer here: http://python.org/download/ |
|
NAOqi for Python According to your choice, extract:
You can download the latest release from the Aldebaran Community Website. |
|
Set the environnement 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 section
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.