Yes - you did not isntalou the packages with the headers of these libraries on the system, so you can compile something with them.
Whenever you build a package - and sometimes a clean Python "Pip install" command will compile, you need to have all the necessary libraries in the system.
There is no exact rule of which packages you need a priori, and the names can change from one Linux distribution to another. On Ubuntu and Debian, these are packages ending with "-dev", (E in Redhat/Debian, "-devel").
In my case, it should be enough to type sudo apt-get install python3-dev
at the prompt and then the same for the package libboost-all-dev
. I’m not on Ubuntu here - so I don’t know the package name apra libbosst Python you need - for this use the command apt-cache search boost|grep python
- and see in what appears listed what is closest to libboost-python3-dev
-with that name, repeat the command sudo apt-get install <nome>
.
With these packages on the system, try the build again.