Sam
Sam

Reputation: 537

Is there an naoqi SDK for Python 3?

I can't seem to find a Python NaoQi SDK for Python 3? All I find is for Python 2.7 from the reference installation page: http://doc.aldebaran.com/2-8/dev/python/install_guide.html

The latest version of the SDK (2.8) requires Python 2.7 and when I use it with Python 3.7 erros occur and the program couldn't be executed correctly. Any clues if such SDK is available ?

Upvotes: 4

Views: 743

Answers (2)

Emile
Emile

Reputation: 2971

there are two Python libraries for controlling NAO:

  • naoqi
  • qi (also called libqi)

naoqi is older and deprecated; and only qi has been ported to Python 3. You can either install it with pip (pip install qi), or rebuild libqi-python from source.

HOWEVER, this is only for usinq qi on your own computer (and connect to NAO from there). If you want to install things on NAO, see the more complete guide here.

Upvotes: 0

lrg.tree
lrg.tree

Reputation: 1

This confused me for a while, too. The answer is that the python 3 version isn't named naoqi , it is called the qi framework now and it is not available for download at Aldebaran, Softbank or United Robotics. You can just install it by calling

pip install qi

Softbank's/Aldebaran's Documentation Page is kind of wibbly wobbly, timey wimey, with many old naoqi examples in it, but good starting points for using the qi framework with python 3 are

Upvotes: 0

Related Questions