![]() ![]() If the package is implemented in Python, this is usually quite quick. When you install a package from PyPI (the Python Package Index) using pip, for example pip install numpy, it downloads the package and installs it on your system. It took 2 hours 30 minutes to build numpy alone. We had to build on a Pi 1 to get an ARMv6 tagged wheel. ![]() As I said, these are Pi 1s, so they’re ARMv6. But since there was no way of excluding the libraries we already have available (without traversing the dependency tree and comparing manually), we just let it build them all. It took a long time, because some of the packages had their own dependency requirements. ![]() He said “is there a way we can install these libraries offline?” I said “Yes, I think you can build wheels for the libraries, and install from the wheel files”. The only thing we can do is provide ESA with files and instructions. The Pis are actually connected to the space station LAN, but not to the internet. He needed to be able to install new libraries on the Pis in space. They’d just finished a competition cycle, and some of the kids’ code had third-party library dependencies. We run competitions for kids to write Python code on Raspberry Pis and Sense HATs in school (or in an emulator we provide) that gets run in space.Īnyway, my excellent colleague Dave, who runs the programme, asked me for help one day. They have Sense HATs (a particular sensor board we made especially for this mission) housed in space-grade aluminum cases. They went up with British ESA astronaut Tim Peake in 2015. If you didn’t already know, there are two Raspberry Pis on the International Space Station, as part of a programme we run called Astro Pi. I presented this project recently in a lightning talk at EuroPython. Background: I work for the Raspberry Pi Foundation and I do a lot of Python stuff on Raspberry Pi. The title may have given away the article contents, but feel free to read on pretending you don’t know the ending. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |