/pepper-nao-python-installation-mac

Pepper python SDK installation on mac

Primary LanguagePython

PYTHON NAOQI INSTALLATION GUIDE FOR MAC(OS X 10.11 and above)

  1. Even If you are installing Naoqi drivers for pepper install from here. As the python SDK are same for both Nao and Pepper supporting methods for both.

  2. Add environment variables :

$ export PYTHONPATH=${PYTHONPATH}:/path/to/python-sdk
$ export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/path/to/python-sdk
  1. Run the command on terminal from where you have the file "pynaoqi_install.sh"
$ chmod u+x pynaoqi_install.sh
$ ./pynaoqi_install.sh
  1. Run the Python which comes by default for Mac : /usr/bin/Python

  2. To make it use globally on terminal, copy the commands from Step-2 and paste it in .bash_profile present in your home directory and then run the command source ~/.bash_profile

  3. Happy Coding on your robot. You are good to go.

  4. Referenced from awesome aldebran-softbank-robotics website and forum.