I recently installed Ubuntu Server 20.04 LTS on my Raspberry Pi 3 Model B Rev 1.2. With the help of Raspberry Imager, I flashed a clean install of Ubuntu 20.04.3 LTS - 5.4.0-1045-raspi.
I now want to run a python server application, using gRPC. Therefore I installed pip with:
sudo apt-get install pip
resulting in the following Python pacages on my Pi:
ubuntu@ubuntu:~$ python3 --version
Python 3.8.10
ubuntu@ubuntu:~$ pip3 --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
If I now try to install grpcio with the help of
sudo pip3 install grpcio
the Raspberry Pi literally takes half a day, trying to:
Building wheel for grpcio (setup.py) ...
before ultimately failing that with the error messages pasted here: https://pastebin.com/8WeQX1JX
What am I doing wrong and how can I get gRPC to run within python on my Raspberry. I expected that with a clean install of Ubuntu Server this would work out-of-the-box and also not take the Pi half a day to generate me this lovely error message =/