[PYTHON] Let's use the NAOqi OS VM. I want to resolve dependencies with pip even in Pepper development

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

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.

Start-up

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 (?)

You can use pip.

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.

Check installed packages

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.

Finally manually choregraphe

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.

Summary

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

Let's use the NAOqi OS VM. I want to resolve dependencies with pip even in Pepper development
I want to use the R dataset in python
[Python] I want to use the -h option with argparse
I want to run Rails with rails s even in vagrant environment
LINEbot development, I want to check the operation in the local environment
I want to pip install with PythonAnywhere
I wanted to use jupyter notebook with docker in pip environment (opticspy)
I want to use the Django Debug Toolbar in my Ajax application
I want to use MATLAB feval with python
I want to use Python in the environment of pyenv + pipenv on Windows 10
I want to mock datetime.datetime.now () even with pytest!
I want to use Temporary Directory with Python2
I don't want to use -inf with np.log
I want to use ip vrf with SONiC
I tried the Pepper NAOqi OS 2.5.5 SLAM feature
I want to use the activation function Mish
I want to display the progress in Python!
I want to extract only pods with the specified label using Label Selector in Client-go
I want to transition with a button in flask
I want to use self in Backpropagation (tf.custom_gradient) (tensorflow)
I want to write in Python! (2) Let's write a test
Even in JavaScript, I want to see Python `range ()`!
I want to inherit to the back with python dataclass
I want to work with a robot in python.
I want to write in Python! (3) Utilize the mock
I want to improve efficiency with Python even in an experimental system (2) RS232C and pySerial
I want to improve efficiency with Python even in an experimental system (1) Install Anaconda with Chocolatey
I want to use the latest gcc without sudo privileges! !!
I want to use R functions easily with ipython notebook
I want to use only the normalization process of SudachiPy
I want to change the Japanese flag to the Palau flag with Numpy
I want to use a virtual environment with jupyter notebook!
I can't log in to the admin page with Django3
I want to know the features of Python and pip
I want to make the Dictionary type in the List unique
I want to align the significant figures in the Numpy array
I didn't want to write the AWS key in the program
I want to improve efficiency with Python even in the experimental system (5) I want to send a notification at the end of the experiment with the slack API
I want to improve efficiency with Python even in an experimental system (4) Use ser.close () when an error is thrown using try syntax
I want to create a graph with wavy lines omitted in the middle with matplotlib (I want to manipulate the impression)
I tried to describe the traffic in real time with WebSocket
I want to use a wildcard that I want to shell with Python remove
I want to know the weather with LINE bot feat.Heroku + Python
[Linux] I want to know the date when the user logged in
I want to solve APG4b with Python (only 4.01 and 4.04 in Chapter 4)
I want to output the beginning of the next month with Python
I tried to process the image in "sketch style" with OpenCV
I want to use an external library with IBM Cloud Functions
I tried to process the image in "pencil style" with OpenCV
I want to make the second line the column name in pandas
For the time being, I want to convert files with ffmpeg !!
I want to pass the G test in one month Day 1
I want to check the position of my face with OpenCV!
I want to know the population of each country in the world.
I really want to use GitHub Flavored Markdown (GFM) with Pelican!
I compared while reading the documentation to use Jinja2 with Django
I can't import modules in the parent directory even with sys.path.append ('..')
I want to use complicated four arithmetic operations in the IF statement of the Django template! → Use a custom template
I want to use only the SMTP MAIL FROM command and RCPT TO command without sending mail with Python's smtplib
I want to use Ubuntu's desktop environment on Android for the time being (Termux version-Japanese input in desktop environment)
I want to improve efficiency with Python even in an experimental system (3) I want to do something like Excel with Pandas