Git Product home page Git Product logo

odroid-poppysetup's Introduction

Poppy software installation for odroid board

This tutorial describe how to install a clean poppy embedded linux environment from scratch.

To do that you will need :

  • your poppy main board (odroid U3 or XU4)
  • the associated memory card
  • a card reader for your computer
  • an ethernet connection to your network (internet and local)

These boards come with a working Ubuntu base image on the MMC you can use the install scripts on it. In the case you have not a fresh installation you have download and burn default system images:

To burn it on the MMC/SD-card, look at the startup section of the Poppy Documentation.

Now you have a clean and fresh installation, you can mount your memory card to your board, plug your ethernet connection, and power up.

Login to the board in SSH: ssh [email protected], password=odroid.

Info If you are using Windows, you have no native SSH client ; you have to download and install putty or mobaxterm to use SSH.

Be sure that your board is connected to the Internet, download and run poppy_setup.sh (replace 'poppy-humanoid' below with poppy-torso' if you want to install a Poppy Torso robot):

wget https://raw.githubusercontent.com/poppy-project/odroid-poppysetup/master/poppy_setup.sh -O poppy_setup.sh
sudo bash poppy_setup.sh poppy-humanoid

You should lose your ssh connection because of the board reboot. This reboot is needed to proceed to the finalisation of the partition resizing. Now your board should installing all the poppy environment. Please do not unpower the board or shut-it down.

You can see the installation process by reconnecting you to your board with your new poppy account: ssh [email protected] password=poppy. Because of the compilation of heavy Python packages (Scipy, Numpy) it can take more than 1 hour to complete.

A process will automatically take you terminal and print the installation output. You can leave it with ctrl+c. You can get back this print by reading the install_log file:

tail -f /home/poppy/install_log

Be patient...

At the end of the installation, your board will reboot again. You can look at the log tail -f /home/poppy/install_log, if everything ended well, last lines should be:

System install complete!
Please share your experiences with the community : https://forum.poppy-project.org/

Note: If you are not sure of what going up, you can see if the install process is running with: ps up $(pgrep -f 'poppy_launcher.sh')

The hostname, default user and password will be all set to "poppy" (ssh [email protected] password=poppy). You can test your installation with the web interface in your web browser http://poppy.local.

odroid-poppysetup's People

Contributors

daweeed avatar matthieu-lapeyre avatar pierre-rouanet avatar show0k avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odroid-poppysetup's Issues

Import pypot error in ipython and python

poppy@poppy:~$ ipython
Python 2.7.11 (default, Apr 25 2016, 03:07:27) 
Type "copyright", "credits" or "license" for more information.

IPython 4.2.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import pypot
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-0256dba2762c> in <module>()
----> 1 import pypot

ImportError: No module named pypot

Typos

There are two typos on the first sentence:
embeded -> embedded
environement -> environment

Feedback on fresh install using Windows not working

POPPY FRESH INSTALL NOT WORKING

As I do not used Linux but Windows instead, I guess my tries with an ODROID board could be of some interest for other Poppy users.
I mix below my own experience, issues encountered and unsolved blocking problems (i.e. I cannot retrieve the old black/yellow/blue Poppy hyperlinks web MMI to launch the Poppy python notebooks and the servos monitor -- but pip.log and install_log contains errors, which might explain, see below ?!)

A. INSTALL CYGWIN

As obviously I am using a PC w/ WINDOWS 8.1, I need some kind of LINUX shell to further ssh the odroid board.

This is why, remembering the old times, I was unsure PUTTY could handle ssh sessions, so I just downloaded and installed CYGWIN. One can get it via "https://cygwin.com/setup-x86_64.exe" (as my computer is based on a 64bits processor).
Just keep all the default installation options and choose whatever download site you wish.

As ssh is not installed by default, one needs to add it: in the "Select Packages" panel, in the "Search" box, type "ssh", then open the "Net" branch and select "openssh" (if different revisions, select the more recent one) -- solution for beginners found thanks to "http://superuser.com/questions/868604/ssh-client-not-found-on-cygwin64"

You can let now the installation finish.

Should you need other packages later on, run again the "setup-x86_64.exe" program.

B. DOWNLOAD EMMC IMAGE

In the present installation Notebook, when you click on the "Please refer to your board manual (odroid U3 (...)) link, you can then follow:

There, among a bunch of images and MD5 (even too many, very disturbing for newcomers), unfortunately there is no "ubuntu-14.04.1lts-lubuntu-odroid-u-20141124.img.xz" version...
Instead, I then got the latest 14.04.2 UBUNTU revision:

[ ] ubuntu-14.04.2lts-lubuntu-odroid-u-20150224.img.xz 2015-02-24 00:41 1.1G
[ ] ubuntu-14.04.2lts-lubuntu-odroid-u-20150224.img.xz.md5sum 2015-02-23 21:41 85

In fact, if I had been following the Wiki link "http://odroid.com/dokuwiki/doku.php?id=en:odroid-u3", at the very bottom of the page, in the "software Releases" section, a click on the Linux/Ubuntu link "http://odroid.com/dokuwiki/doku.php?id=en:u3_release_linux_ubuntu" would have driven me also to the same 14.04.2 revision..

I downloaded both files (beware that you must right click on the ".md5sum" file to download it or your browser will simply open it and display the plain text instead in a tab).

C. CHECK MD5

Pay attention that the above MD5 is the one of the ".xz" archive, NOT the one of the Odroid board image once unzipped.
In order to check the zipped image MD5, I moved the ".img.xy" file from its "Dowloaded files" directory to the "C:\cygwin64\home" folder, which is the default "Linux" home folder used by Cygwin (for 64 bits platforms). Then, launch Cygwin and run from its terminal the "md5sum" command like this:

$ md5sum ubuntu-14.04.2lts-lubuntu-odroid-u-20150224.img.xz

This command takes some time and kind of freezes a bit the computer because of the full speed reading of a >1GB file and (simple but) intense computing. Eventually, the program displays a string that you need to compare to the one from the "ubuntu-14.04.2lts-lubuntu-odroid-u-20150224.img.xz.md5sum" text file. They shall perfectly match of course. If not, retrieve again the ".xz" file from Internet.

Once the MD5 checksum positively checked, you can drag back the ".img.xz" file into its original folder as you won't need anymore Cygwin command with it (except if you would want to use the 7zip equivalent linux command for the next chapter, which I will not describe here).

D. EXTRACT EMMC IMAGE

In order to extract the image form the ".xz" file, I used the Windows GUI version of 7-zip, which was just doing fine. You can use the command line embedded with Cygwin (provided that it has been checked in the installation process) or find its original Windows GUI at "http://www.7-zip.org/a/7z920-x64.msi" for the stable x64 version, or at "http://www.7-zip.org/a/7z920-x64.msi" for the latest development version -- Well, this "version management" detail has its importance as I remember using earlier buggy development command line versions of this (albeit excellent) program that unfortunately missed some of my files during its zipping process...

Once the image extracted, you shall get a ".img" file >5 GB (beware that non FAT32 partitioned disks will not handle such big file and 7-zip shall certainly mention an error at this stage if you are in this case).

E. INSTALL WIN32DISKIMAGER

Now from the "http://odroid.com/dokuwiki/doku.php?id=en:odroid-u3" wiki link, click on the " Please read THIS " link.
This goes to the "http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools" page where is explained how to flash the emmc card.
Basically, you need to download and install the Win32DiskImager software ("http://dn.odroid.com/DiskImager_ODROID/Win32DiskImager-odroid-v1.3.zip") that will flash the eMMC memory using our ".img" file.

F. FLASH EMMC IMAGE

Once installed, run Win32DiskImager.

  • select the "ubuntu-14.04.2lts-lubuntu-odroid-u-20150224.img" file to flash in the "Select File" section,
  • get the eMMC card out from Poppy's Head (Warning: Poppy's odroid board shall be off of course!)
  • plug the eMMC card into your eMMC->µSD converter
  • insert your eMMC-µSD card into yourt USB->µSD dongle
  • insert your USB->µSD dongle into the USB port of the PC
  • check that its Windows device letter appears right in the "Device" section -- [E:] in my PC
  • keep the check-box about the Read Only Allocated Partitions unticked
  • click on "Write" -- and do not touch nothing as it goes on until finished !
  • click on "Verify" --> Must be successful, else "Write" again !
  • exit the program

G. CONNECT TO POPPY

Back to the "Let's start the installation :" section of the present "Poppy_Install" notebook, following the step 1 "Connecting you to the board over ssh.", I typed in

into Cygwin but that would not work: "odroid.local" seems not solved by the DNS server and I got the following error:

ssh: Could not resolve hostname odroid.local: Name or service not known

I put instead the 192.168.1.108 old address of the Poppy odroid board and it did not work either...
By a glance at my router home page, I found out that the IP address of the odroid board had flipped to 192.168.1.133... No idea why, but a ssh [email protected] does now the trick.
Good thing, the remote odroid password remains unchanged.

H. RUN INSTALLATION

For some reason, the curl -L https://raw.githubusercontent.com/poppy-project/poppy_install/master/poppy_setup.sh | sudo bash command from step 2 did not work as expected. The script ran a little while, updated some libs then stopped (I waited sooo long for the board to reboot without any success).
So I used another curl command to download first the poppy_setup.sh command:

curl -k -L https://raw.githubusercontent.com/poppy-project/poppy_install/master/poppy_setup.sh > poppy_setup.sh

then I ran the sudo'ed bash with the setup: sudo bash poppy_setup.sh.
Hurrah, the script launched fully this time as described in step 3. I logged as "poppy" successfully (provided that I used the IP address instead of the poppy.local DNS also not resolved) and were able to watch the installation process until the "System install complete!" final line.
The sudo reboot went okay and I should have been now ready to "start to play" !

I. WEB INTERFACE

Halas, my friends, once the odroid board rebooted, I opened up my favorite web browser, got back to my tab with the Poppy home page, switched its old IP address with the new one (x.x.x.108 --> x.x.x.133) and.... nothing.
Almost.
Instead of the black page with yellow titles and blue links on it, I got only a blank page and a single pink link to the WiFi configuration...

J. NOTEBOOK

Digging a bit, I found out that no Notebooks are installed in the /home/poppy/notebooks folder.
So I had to manually add a notebook test of mine (from my ssh shell on Cygwin, I had to use chmod to allow writing inside this directory and scp command to put my own .ipyng file there).

K. ERROR LOGS

Once retrieved the installation logs (pip.log, install_log), I found out that many errors had been thrown, hereunder copied:

/home/poppy/.pip$ more pip.log
Downloading/unpacking serial
  Getting page https://pypi.python.org/simple/serial/
  Could not fetch URL https://pypi.python.org/simple/serial/: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/serial/ when looking for download links for serial
  Getting page https://pypi.python.org/simple/
  URLs to search for versions for serial:
  * https://pypi.python.org/simple/serial/
  Getting page https://pypi.python.org/simple/serial/
  Could not fetch URL https://pypi.python.org/simple/serial/: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/serial/ when looking for download links for serial
  Could not find any downloads that satisfy the requirement serial
Cleaning up...
  Removing temporary dir /tmp/pip_build_poppy...
No distributions at all found for serial
Exception information:
Traceback (most recent call last):
  File "/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/pip/index.py", line 277, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for serial

==> something about the serial interface install must be wrong.

/home/poppy$ more install_log | grep error
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    _configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
    _configtest.c:7:12: error: ‘SIZEOF_LONGDOUBLE’ undeclared (first use in this function)
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:5:16: error: size of array ‘test_array’ is negative
    _configtest.c:7:16: error: size of array ‘test_array’ is negative
    _configtest.c:7:16: error: size of array ‘test_array’ is negative
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    _configtest.c:1:23: fatal error: xmmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: xmmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: emmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: emmintrin.h: No such file or directory
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    _configtest.c:1:23: fatal error: xmmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: xmmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: emmintrin.h: No such file or directory
    _configtest.c:1:23: fatal error: emmintrin.h: No such file or directory
     #pragma clang diagnostic error "-Wattributes"
     #pragma clang diagnostic error "-Wattributes"
     #pragma clang diagnostic error "-Wattributes"
     #pragma clang diagnostic error "-Wattributes"
     #pragma clang diagnostic error "-Wattributes"
    _configtest.c:5:24: error: expected declaration specifiers before ‘foo’
    _configtest.c:9:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    _configtest.c:11:1: error: expected ‘{’ at end of input
     #pragma clang diagnostic error "-Wattributes"
    _configtest.c:5:24: error: expected declaration specifiers before ‘foo’
    _configtest.c:9:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
    _configtest.c:11:1: error: expected ‘{’ at end of input
    _configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
    _configtest.c:8:12: error: ‘HAVE_DECL_SIGNBIT’ undeclared (first use in this function)
    _configtest.c:2:41: error: expected ‘;’, ‘,’ or ‘)’ before ‘a’
    _configtest.c:2:41: error: expected ‘;’, ‘,’ or ‘)’ before ‘a’
    _configtest.c:7:12: error: ‘Py_UNICODE_WIDE’ undeclared (first use in this function)
    _configtest.c:7:12: error: ‘Py_UNICODE_WIDE’ undeclared (first use in this function)
    #error config.h should never be included directly, include npy_config.h instead
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
                  error,value,inform = mvndst(lower,upper,infin,correl,[maxpts,abseps,releps])
    gfortran: error: unrecognized argument in option ‘-march=x86-64’
    gfortran: error: unrecognized argument in option ‘-mtune=generic’
    gfortran: error: unrecognized command line option ‘-msse2’
    gfortran: error: unrecognized argument in option ‘-march=x86-64’
    gfortran: error: unrecognized argument in option ‘-mtune=generic’
    gfortran: error: unrecognized command line option ‘-msse2’
    error: Command "/usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2 -I/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dffti.f -o build/temp.linux-armv7l-2.7/scipy/fftpack/src/dfftpack/dffti.o" failed with exit status 1
                  error,value,inform = mvndst(lower,upper,infin,correl,[maxpts,abseps,releps])
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
error: Command "/usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2 -I/home/poppy/.pyenv/versions/2.7.9/lib/python2.7/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dffti.f -o build/temp.linux-armv7l-2.7/scipy/fftpack/src/dfftpack/dffti.o" failed with exit status 1
Command /home/poppy/.pyenv/versions/2.7.9/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip_build_poppy/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-oWQgxU-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_poppy/scipy
    collect2: error: ld returned 1 exit status
    build/temp.linux-armv7l-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory
    error: command 'gcc' failed with exit status 1
    Fatal error: can't create build/temp.linux-armv7l-2.7/scratch/tmp/timer_create7vv7fF.o: No such file or directory
    build/temp.linux-armv7l-2.7/scratch/vers.c:4:17: fatal error: zmq.h: No such file or directory
    error: command 'gcc' failed with exit status 1
    collect2: error: ld returned 1 exit status
    building 'zmq.backend.cython.error' extension
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Ibundled/zeromq/include -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/home/poppy/.pyenv/versions/2.7.9/include/python2.7 -c zmq/backend/cython/error.c -o build/temp.linux-armv7l-2.7/zmq/backend/cython/error.o
    gcc -pthread -shared -L/home/poppy/.pyenv/versions/2.7.9/lib build/temp.linux-armv7l-2.7/zmq/backend/cython/error.o -o build/lib.linux-armv7l-2.7/zmq/backend/cython/error.so
       __pyx_t_2 = __pyx_f_3zmq_7backend_6cython_7checkrc__check_rc(__pyx_v_rc2); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                  error,value,inform = mvndst(lower,upper,infin,correl,[maxpts,abseps,releps])
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
                  error,value,inform = mvndst(lower,upper,infin,correl,[maxpts,abseps,releps])
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
                  error,value,inform = mvndst(lower,upper,infin,correl,[maxpts,abseps,releps])
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized argument in option ‘-march=x86-64’
gfortran: error: unrecognized argument in option ‘-mtune=generic’
gfortran: error: unrecognized command line option ‘-msse2’
Enabling conf localized-error-pages.
/home/poppy$ more install_log | grep 'not found'
      libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries tatlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries satlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries ptf77blas,ptcblas,atlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
    /bin/sh: 1: svnversion: not found
    /bin/sh: 1: svnversion: not found
      libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries tatlas,tatlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/lib/atlas-base
      libraries tatlas,tatlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries satlas,satlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/lib/atlas-base
      libraries satlas,satlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries ptf77blas,ptcblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas-base
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries f77blas,cblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries tatlas,tatlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/lib/atlas-base
      libraries tatlas,tatlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries satlas,satlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/lib/atlas-base
      libraries satlas,satlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries ptf77blas,ptcblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas-base
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
      libraries f77blas,cblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries tatlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries satlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
      libraries ptf77blas,ptcblas,atlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries tatlas,tatlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/lib/atlas-base
  libraries tatlas,tatlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib/arm-linux-gnueabihf
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries satlas,satlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /usr/lib/atlas-base
  libraries satlas,satlas not found in /usr/lib
  libraries satlas,satlas not found in /usr/lib/arm-linux-gnueabihf
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries ptf77blas,ptcblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas-base
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries lapack_atlas not found in /usr/lib/arm-linux-gnueabihf
  libraries f77blas,cblas,atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries lapack_atlas not found in /home/poppy/.pyenv/versions/2.7.9/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries mkl,vml,guide not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries openblas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries tatlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries satlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
  libraries ptf77blas,ptcblas,atlas not found in ['/home/poppy/.pyenv/versions/2.7.9/lib', '/usr/local/lib', '/usr/lib/atlas-base', '/usr/lib', '/usr/lib/arm-linux-gnueabihf']
                  dateutil: yes [dateutil was not found. It is required for date
                      pytz: yes [pytz was not found. pip will attempt to install
                    cycler: yes [cycler was not found. pip will attempt to
                   tornado: yes [tornado was not found. It is required for the
                 pyparsing: yes [pyparsing was not found. It is required for
                    qt5agg: no  [PyQt5 not found]
                    qt4agg: no  [PySide not found; PyQt4 not found]
                     cairo: no  [cairocffi or pycairo not found]
                  dateutil: yes [dateutil was not found. It is required for date
                      pytz: yes [pytz was not found. pip will attempt to install
                    cycler: yes [cycler was not found. pip will attempt to
                   tornado: yes [tornado was not found. It is required for the
                 pyparsing: yes [pyparsing was not found. It is required for
                    qt5agg: no  [PyQt5 not found]
                    qt4agg: no  [PySide not found; PyQt4 not found]
                     cairo: no  [cairocffi or pycairo not found]
    package init file 'pyreadline/configuration/__init__.py' not found (or not a regular file)
    package init file 'pyreadline/configuration/__init__.py' not found (or not a regular file)
    /bin/sh: 1: ./configure: not found

==> Obviously something must be wrong with the collect2, #pragma directive, _configtest.c attributes, emmintrin.h file missing, gfortran compiler x86 options instead of arm and lots of poppy libs not found.

Can anybody help me ?

On top of fixing the issues above, does it exist some kind of post-install.sh script to install iPython and Notebooks correctly and bind them to web server Apache correctly ?

Thanks a lot

Dev folder is empty

Python packages are now installed only with pip, but a LOT of humanoid and torso are not well assembled, the end user should be able to modify the configuration json file of the robot.
If we create tag for each software version, we could simply clone the repo and checkout to the last stable version. What do you think @pierre-rouanet ?

Otherwise, opencv-3.1.0 and puppet-master are installed in the '/home/poppy', but they should be in '/home/poppy/dev'

Add scipy

Scipy is now required, it should be install as numpy with poppy_install.
Before installing scipy from pip you have to install the following packages (fortran dependencies)

sudo apt-get install libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libstdc++6 build-essential gfortran python-all-dev libatlas-base-dev

@nicolas-rabault

@nicolas-rabault Comme il y a plusieurs curl avec des liens vers ton dépôt, l'ajout de scipy dans les dépendaces sur ce dépoôt n'a aucune influence... Tu pourrais faire un git pull depuis ton dépôt sur celui là pour prendre les commit ?

ImportError: No module named serial.tools.list_ports

import pypot.dynamixel

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-4f7703136988> in <module>()
----> 1 import pypot.dynamixel

/home/poppy/dev/pypot/pypot/dynamixel/__init__.py in <module>()
      4 import logging
      5 
----> 6 import serial.tools.list_ports
      7 
      8 

ImportError: No module named serial.tools.list_ports

after a fresh install

notebook folder is empty

It should contain notebook samples specific to the installed creature and the pdf of the documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.