Pepper's OS is NAOqiOS, a Gentoo Linux-based OS. The VM image of the NAOqi OS is published on the developer site of Aldebaran, so I tried using it.
(Mr. Kawada who gave me the information)
Download from this site. Login is required, so if you have not registered as a developer, please do so.
Here I downloaded ʻOpenNAO OS VirtualBox 2.1.2`.
Once the download is complete, import it into VirtualBox.
After importing, start it.
username: nao
password: nao
You can log in with. ** It's the same feeling as when you log in to Pepper with SHH **.
Pepper development is usually difficult without the main body, but if you use this VM, you may be able to improve the environment related to Pepper to some extent without the main body.
By the way, I can't seem to be root (?)
This is the main topic. You cannot use pip when you SSH into Pepper (NAOqiOS), but you can use pip with NAOqiOS VM.
$ pip install websocket
Let's install the module you want to add.
The pip installed package has been added under / usr / lib / python2.7 / site-packages /
.
$ ls /usr/lib/python2.7/site-packages/
What is newly added here is the module installed by dependency resolution.
Let's zip these together and bring them to the host OS with scp etc. (Let's compress the zip command recursively with the -r option)
On the host OS side, add it to the collegraph by following the procedure for adding an external module, as in Previous article.
You can use the module with the dependencies resolved.
I didn't know that there was a VM of NAOqi OS, and I didn't know that pip could be installed, so it was in a mecha lauroco state.
Please try it when using an external module in Pepper development.
Recommended Posts