Unable to install grpcio using pip install grpcio

后端 未结 2 916
面向向阳花
面向向阳花 2021-02-07 03:46

I am getting error while installing grpcio using pip install grpcio on my windows machine.I read here - https://github.com/grpc/grpc/issues/17829 that it may be due to error in

2条回答
  •  面向向阳花
    2021-02-07 04:46

    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 
                 ^~~~~~~~~
    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.

提交回复
热议问题