You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of gRPC and what language are you using?
GRPC version 1.24.1
Python 3.6
What operating system (Linux, Windows,...) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
Python
What did you do?
I am trying to create a docker image with grpc for python. But the command pip3 install grpcio grpcio-tools
takes too much time. I am waiting now more than half an hour.
My docker images uses ubuntu 18.04 as a base image and I am building it on arm64.
Also if I try to cross compile it on my x86_64 for arm64 with the help of qemu, it takes forever.
What did you expect to see?
A fast installation of grpc
What did you see instead?
> Building wheels for collected packages: grpcio, grpcio-tools
> Building wheel for grpcio (setup.py): started
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
> Building wheel for grpcio (setup.py): still running...
First lines of my Dockerfile( get stuck in the last line):
@vizero1 If you are using emulator to compile grpcio, it does take forever (much more than half an hour). We do provide compiled wheels for for armv7, another place to find grpcio arm wheels are https://www.piwheels.org/project/grpcio/.
Can you take a look at the resources above, if your problem still unresolved, can you provide more information about your setup? e.g. is it armv6 or armv7?
@lidizheng The last few days I tried to do a minimalistic setup to test grpcio.
I am trying to build it now for an i.MX8M dev board (without qemu or any other simulation). It is armv8. If I try to build it directly on the board it compiles it from source instead of using a compiled wheel and that takes really long.
Your link only provides wheels for armv6 or armv7 embedded boards.
Are there any compiled wheels for armv8?
Thanks in advance
@vizero1 Unfortunately, we are not pre-compiling for armv8 right now. This issue can be used as an feature request.
On the other hand, the armv6 and armv7 are theoretically compatible with armv8. The reason your device didn't pick up those wheels are because you are using 3.6, and since https://www.piwheels.org/project/grpcio/ is meant for Raspberry Pi they don't build for 3.6. I would suggest give it a try to use 3.7 or 3.5.
What version of gRPC and what language are you using?
GRPC version 1.24.1
Python 3.6
What operating system (Linux, Windows,...) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
Python
What did you do?
I am trying to create a docker image with grpc for python. But the command
pip3 install grpcio grpcio-tools
takes too much time. I am waiting now more than half an hour.
My docker images uses ubuntu 18.04 as a base image and I am building it on arm64.
Also if I try to cross compile it on my x86_64 for arm64 with the help of qemu, it takes forever.
What did you expect to see?
A fast installation of grpc
What did you see instead?
First lines of my Dockerfile( get stuck in the last line):
The text was updated successfully, but these errors were encountered: