1

I follow this page to install python SDK on raspberry pi 3. When i run "import naoqi" for Checking the installation of the Python SDK, I see this error:

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

I think i maybe set wronge path in this code:

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

My question is, what is /path/to/python-sdk ? I set once this path:export PYTHONPATH=${PYTHONPATH}:/usr/include/python2.7 , and once set this path: export PYTHONPATH=${PYTHONPATH}:/home/nao/Downloads/Python-2.7.12

but i see that error again. How must i do?

narges
  • 681
  • 2
  • 7
  • 26

1 Answers1

0

/path/to/python-sdk would be the absolute path to where you extracted pynaoqi-python-2.7-naoqi-x.x-linux32.tar.gz that you have to download.

Victor Paléologue
  • 2,025
  • 1
  • 17
  • 27