Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running error #1

Open
WwYyFan opened this issue Dec 20, 2018 · 5 comments
Open

Running error #1

WwYyFan opened this issue Dec 20, 2018 · 5 comments

Comments

@WwYyFan
Copy link

WwYyFan commented Dec 20, 2018

I encountered an error when I ran app.py,and can you tell me how to fix it?

Traceback (most recent call last):
  File "app.py", line 1, in <module>
    import qi
  File "/home/efun/pepper_test/src/pynaoqi-python2.7-2.1.4.13-linux64/qi/__init__.py", line 72, in <module>
    from _qi import Application as _Application
ImportError: libqipython.so: cannot open shared object file: No such file or directory
@maverickjoy
Copy link
Owner

You need to install pepper's python sdk naoqi. One can downaload it from softbanks website.
If you are working on mac can refer to this https://github.com/maverickjoy/pepper-nao-python-installation-mac

@WwYyFan
Copy link
Author

WwYyFan commented Dec 21, 2018

@maverickjoy
Thanks for reply,I am using ubuntu16.04,and I have installed pepper's python sdk according to this tutorial.But the error messages still exists.

@maverickjoy
Copy link
Owner

Just check version compatibility as well it should be in your default lets say python 2.7 site packages

For check just just run python on commandline and then try
import naoqi

If it gives error then that means its not installed properly.

For perfect run it should look like this :

screenshot from 2018-12-21 15-15-24

@WwYyFan
Copy link
Author

WwYyFan commented Dec 21, 2018

Is this correct?
2018-12-21 17-54-24
2018-12-21 17-54-39

@maverickjoy
Copy link
Owner

maverickjoy commented Dec 21, 2018

Yeah, this seems to be fine did you try import naoqi after that ?

If not working try this while exporting PYTHON environmental variable.

/pynaoqi/lib/python2.7/site-packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants