关于raspberry pi 3的Python SDK安装指南

时间:2016-10-03 11:50:35

标签: python ubuntu sdk raspberry-pi3 nao-robot

我按照this page在raspberry pi 3上安装python SDK。当我运行“import naoqi”检查安装Python SDK时,我看到了这个错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "naoqi.py", line 7, in <module>
    import qi
  File "qi/__init__.py", line 72, in <module>
    from _qi import Application as _Application
ImportError: ./_qi.so: cannot open shared object file: No such file or directory

我想我可能会在这段代码中设置wronge路径:

export PYTHONPATH=${PYTHONPATH}:/path/to/python-sdk

我的问题是,/path/to/python-sdk是什么? 我设置了一次此路径:export PYTHONPATH=${PYTHONPATH}:/usr/include/python2.7,并设置此路径:export PYTHONPATH=${PYTHONPATH}:/home/nao/Downloads/Python-2.7.12

但我再次看到错误。 我该怎么办?

1 个答案:

答案 0 :(得分:0)

/path/to/python-sdk将是您必须下载pynaoqi-python-2.7-naoqi-x.x-linux32.tar.gz的绝对路径。