Edit on GitHub

Library Setup <Python Linux>

Install requirements

  • Install python3 and pip3.
    $ sudo apt update
    $ sudo apt install python3 python3-pip python3-serial
    
  • You can also install in web browser using the following link:
    Download Python3 for Linux

Build and Install the SDK

  • If you downloaded the SDK as source code, you should install it using pip3 (excluding those who installed via pip3 install).
    $ cd DynamixelSDK/python
    $ pip install .
    
  • You can check whether pip recognizes the SDK by running the following command:
    $ pip show dynamixel_sdk
    Name: dynamixel-sdk
    Version: *.*.*
    Summary: UNKNOWN
    Home-page: UNKNOWN
    Author:
    Author-email:
    License: UNKNOWN
    Location: location your sdk installed in # ex. /home/robotis/.local/lib/python3.10/site-packages OR /opt/ros/humble/local/lib/python3.10/dist-packages
    Requires:
    Required-by:
    

Library Setup <Python Windows>

Install requirements

Build and Install the SDK

  • Open the {$Dynamixel_SDK}/python folder.
  • Right click on the folder and select Open in terminal.
  • Build and install Dynamixel_SDK through below command.
    $ pip install .
    
  • You can check whether pip recognizes the SDK by running the following command:
    $ pip show dynamixel_sdk
    Name: dynamixel-sdk
    Version: *.*.*
    Summary: ~
    Home-page: ~
    Author: ~
    Author-email: ~
    License: ~
    Location: ~
    Requires:
    Required-by:
    

Library Setup <Python macOS>

Maintenance is in progress. We apologize for your inconvenience. The manual is available in the near future.