papiot/CarND-Behavioral-Cloning

prepare sample on Jetson nano

Opened this issue · 2 comments

To fulfill requirements on NVIDIA Jetson nano

pip install -r requirements.txt

you need
sudo apt-get install libffi-dev

I use Python 3.7.7 with pyenv

Now I run into

Collecting scipy==1.4.1
  Using cached scipy-1.4.1.tar.gz (24.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /home/hannes/.pyenv/versions/3.7.8/bin/python3.7 /home/hannes/.pyenv/versions/3.7.8/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphpyscg11
         cwd: /tmp/pip-install-q9970_gy/scipy
    Complete output (153 lines):
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE
    
    openblas_lapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE
    
    openblas_clapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas,lapack not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE
    
    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS

Running standalone install pip install scipy with python 3.7.8

Shows me

Collecting scipy
  Downloading scipy-1.5.1.tar.gz (25.6 MB)
     |████████████████████████████████| 25.6 MB 43 kB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /home/hannes/.pyenv/versions/3.7.8/bin/python3.7 /home/hannes/.pyenv/versions/3.7.8/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphp_cq25s
         cwd: /tmp/pip-install-itf0x59l/scipy
    Complete output (153 lines):
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE
    
    openblas_lapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE
    
    openblas_clapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas,lapack not found in ['/home/hannes/.pyenv/versions/3.7.8/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
      NOT AVAILABLE