aldebaran / libqi

NAOqi core framework
http://doc.aldebaran.com/libqi/
BSD 3-Clause "New" or "Revised" License
66 stars 53 forks source link

Installation issue with the NAOqi python SDK on Ubuntu #28

Closed nyibbang closed 4 years ago

nyibbang commented 4 years ago

Can anyone help with detailed installation process of NAOqi SDK (python) on Ubuntu. The installation process on the official page is not detailed enough for beginners.

Originally posted by @OlalekanIsola in https://github.com/aldebaran/libqi/issues/18#issuecomment-566969648

nyibbang commented 4 years ago

@OlalekanIsola Hello, I assume you tried following the instructions from this page. What was your issue ? Please add information on the steps that you did and on the problem that occurred. Also note that we now also distribute the python bindings for libqi as a pypi package available here, that you can install through pip (Python 2). $ pip install --user qi

OlalekanIsola commented 4 years ago

Hi Vincent,

Yes, I followed the instructions on the page. Jetson Nano runs on Ubuntu 18.04. I need to install the NAOqi SDK for me to be able to use the import naoqi. This is really crucial for my project as its allows me to work with the NAO

On Wed, Dec 18, 2019 at 4:37 PM Vincent Palancher notifications@github.com wrote:

@OlalekanIsola https://github.com/OlalekanIsola Hello, I assume you tried following the instructions from this page http://doc.aldebaran.com/2-5/dev/python/install_guide.html. What was your issue ? Please add information on the steps that you did and on the problem that occurred. Also note that the NAOqi python SDK is no longer updated and its support will be dropped in a near future. We know distribute the python binding for libqi as a pypi package available here https://pypi.org/project/qi, that you can install through pip.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aldebaran/libqi/issues/28?email_source=notifications&email_token=AOBVST5AUPAKSVZXD4F5YQ3QZIYTVA5CNFSM4J4L5TA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHGJ5XI#issuecomment-567058141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBVSTY2TFRJYL7EM5FQ5XTQZIYTVANCNFSM4J4L5TAQ .

nyibbang commented 4 years ago

Understood. Note that this version of the NAOqi python SDK only supports Ubuntu 14.04, and the pip package only supports Ubuntu 16.04.

Please verify that:

OlalekanIsola commented 4 years ago

You have been very helpful. I can verify that I did all the listed items. Thank you Vincent, you have been really helpful

On Wed, Dec 18, 2019 at 5:54 PM Vincent Palancher notifications@github.com wrote:

Understood. Note that this version of the NAOqi python SDK only supports Ubuntu 14.04, and the pip package only supports Ubuntu 16.04.

Please verify that:

  • the archive was successfully extracted.
  • you set the PYTHONPATH accordingly (export PYTHONPATH=${PYTHONPATH}:/lib/python2.7/site-packages ).
  • you use the python2.7 interpreter (python --version).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aldebaran/libqi/issues/28?email_source=notifications&email_token=AOBVSTZSJQHE7NVFVZMCAQLQZJBR7A5CNFSM4J4L5TA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHGSGDY#issuecomment-567091983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBVST6VR63HNT4KL3XZRS3QZJBR7ANCNFSM4J4L5TAQ .

Klaim commented 4 years ago

Did checking these fix your problem? or did you use pip?

OlalekanIsola commented 4 years ago

Pip does not have the Naoqi package. Vincent willing to help, but I am afraid , Naoqi only supports Ubuntu 14.04. Jetson Nano Runs on 18.04.

On Wed, Dec 18, 2019 at 8:36 PM Joël Lamotte notifications@github.com wrote:

Did checking these fix your problem? or did you use pip?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aldebaran/libqi/issues/28?email_source=notifications&email_token=AOBVST6AKLBOMUHFMQGND5DQZJUSVA5CNFSM4J4L5TA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHB65Q#issuecomment-567156598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBVST7LFFRXLAKHPBSNC2DQZJUSVANCNFSM4J4L5TAQ .

Klaim commented 4 years ago

Vincent and I are part of the team that maintain libqi and libqi-python among other things. He is correct.

The Python SDK is not supported on recent Ubuntu or any other platforms and you need to use pip to get libqi-python that you can use to develop python applications for Naoqi. Naoqi (the robotic platform, not the sdk) itself is not distributed for desktop anymore for new versions.

The right package in pip is libqi so this should work: pip install libqi

Once you've done that you can use import qi in your python scripts.

Klaim commented 4 years ago

Correction: Last supported version is Ubuntu 16.04, you can find the sdk there: https://community.ald.softbankrobotics.com/

Using either pip or this sdk should work if you are on Ubuntu 16.04.

robertanto commented 3 years ago

Hi Vincent, Yes, I followed the instructions on the page. Jetson Nano runs on Ubuntu 18.04. I need to install the NAOqi SDK for me to be able to use the import naoqi. This is really crucial for my project as its allows me to work with the NAO

@OlalekanIsola I have just published a pre-compiled version of the qi SDK that works on Ubuntu 18 on the NVIDIA Jetson platform. https://github.com/robertanto/libqi-python-nvidia-jetson