Unable to install grpcio using pip install grpcio
try to install using
grpcio==1.36.1
it worked in my case.
First, upgrade pip
pip3 install --upgrade pip
Then, update the setup tools:
python3 -m pip install --upgrade setuptools
At last, install grpcio
using :
pip3 install --no-cache-dir --force-reinstall -Iv grpcio==<version_number>
I ran into same issue using python 3.7 with setuptools is 41.0.1 while installing package that includes building wheel for gracio ... Building wheel for grpcio (setup.py) ... error
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
src/python/Gracie/grpc/_cython/cygrpc.cpp:1343:14: fatal error: 'cstdlib' file not found
#include <cstdlib>
^~~~~~~~~
1 warning and 1 error generated.
Could NOT find a way to resolve above, but I tried with another environment with Python 3.6.x with same setuptools 41.0.1. Somehow "setup" found the prebuilt wheel for gracio (i.e. grpcio==1.11.0), and got through setup.