google-coral / example-object-tracker

Apache License 2.0
105 stars 32 forks source link

install_requirements.sh errors out: fatal error: Python.h #16

Closed jlpoolen closed 2 years ago

jlpoolen commented 2 years ago

Description

New install of Coral and this project. Ran bash gstreamer/install_requirements.sh and script errored out with:

 aarch64-linux-gnu-g++: lap/lapmod.cpp
   lap/_lapjv.cpp:4:10: fatal error: Python.h: No such file or directory
    #include "Python.h"
             ^~~~~~~~~~
   compilation terminated.

_Source: line 184 et seq. from gstreamer_install_attemp1.script.txt (uploaded).

I then performed:

 sudo apt install python3-dev

then reran bash install_requirements.sh which then succeeded; see log at gstreamer_install_attempt_2.script.txt gstreamer_install_attemp_1.script.txt gstreamer_install_attempt_2.script.txt

Click to expand! ### Issue Type Build/Install ### Operating System Mendel Linux ### Coral Device Dev Board ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output ```shell aarch64-linux-gnu-g++: lap/lapmod.cpp lap/_lapjv.cpp:4:10: fatal error: Python.h: No such file or directory #include "Python.h" ^~~~~~~~~~ compilation terminated. ```
hjonnala commented 2 years ago

Hi @jlpoolen Thanks for reporting! I have updated the install_requestments.sh file.

google-coral-bot[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No