Need help setting up custom buildroot
-
I need some help setting up a custom buildroot. I basically need numpy and scipy(needs fortran) python library in buildroot. I am currently using a luckfox pico mini b. Also I want to ask that is the provided ubuntu image too slow for this board or is the sd card causing it to freeze? I tried using pip in the ubuntu image but the speed is slow like I need to wait 30-45 min to install numpy just to look at errors.
Hello,
In Buildroot, due to compiler differences (Buildroot uses the uClibc compiler), the numpy library cannot be loaded. Therefore, numpy can only be used on Ubuntu.
On Ubuntu, using pip will download the source code locally and compile it, which is normal given the limited resources of the RV1106, as it consumes a lot of time.
It is recommended to use apt install python-<Package>to download the binary file directly, of course, this download method is much less than using pip.
In Buildroot, due to compiler differences (Buildroot uses the uClibc compiler), the numpy library cannot be loaded. Therefore, numpy can only be used on Ubuntu.
On Ubuntu, using pip will download the source code locally and compile it, which is normal given the limited resources of the RV1106, as it consumes a lot of time.
It is recommended to use apt install python-<Package>to download the binary file directly, of course, this download method is much less than using pip.
Thanks a lot! Will give it a try today.