I am trying to install various python3 packages on the BlueOS(1.4.2) running raspberry pi(locally) via red-pill.
Some packages(like numpy, pyserial) install via pip easily (i.e. piwheels), but some packages (pymavlink, flask, etc) does not and seem to show timeout errors. RPi doesn’t seem to connect to piwheel.org properly.
I am sure that,
My internet is not an issue, as other servers such as git, raspberryPi archives, etc. seem to work perfectly fine.
It is not an issue with my region, as raspberry Pis with normal Raspbian are able to download all these packages easily.
I have tried increasing the timeout for pip install, but to no avail.
At the end, I installed wheel files from another Pi, and transferred on BlueOS-Pi via USB Drive, but I need to fix this issue.
Please help!
Thankyou.
P.S.: I know that the correct way to work in BlueOS is to run dockerized Extensions (and I will), but first I need to make sure that my system works in the desired way, hence local deployment in Pi.
Hi @VShiva1 -
We recommend against your approach, because if you update BlueOS versions, all the installed packages in that root account would be cleared!
It’s really best to start your project from the get-go with a docker image, as dependencies are addressed early with the dockerfile built from the github action… You could miss a dependency with your approach, if it was already a part of the environment!
As for your specific issue, it seems very strange that those pip installs don’t work, but do on other Pi hardware …
I still don’t know what the issue was, but it randomly worked and I could install all the required packages in one go.
Regardless of everything, Thankyou very much.