Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError: No module named grpc

Tags:

python

when run the spec using gauge on windows system, I get the error message below:

gauge\plugins\python\0.3.15\start.py", line 9, in <module>
import grpc
ModuleNotFoundError: No module named 'grpc'
Error occurred while waiting for runner process to finish.

Is there anyone had some ideas?

like image 474
cao ting Avatar asked Dec 07 '25 07:12

cao ting


2 Answers

According to docs, upgrade your pip to version 9 or higher. Then use the following commands:

$ python -m pip install grpcio
$ python -m pip install grpcio-tools
like image 117
BlackMath Avatar answered Dec 08 '25 19:12

BlackMath


pip install grpcio
pip install grpcio-tools

these operations works for me

like image 29
cao ting Avatar answered Dec 08 '25 20:12

cao ting



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!