You can reference this link to install the RoboDK Python-API.
//m.sinclairbody.com/doc/en/PythonAPI/intro.html#how-to-install
Or install the robodk package for Python manually:
pip install robodk