Search code examples
pythonpipgoogle-assistant-sdk

'No module named google.auth.transport.grpc' even though google-auth has been installed with pip


On my raspberry pi 3, I am trying to run this code, but I get this error: No module named google.auth.transport.grpc

I have installed all packages listed in the requirements.txt (on the same github page above), and installed grpcio. I have installed google-auth. I have installed google-assistant-sdk. I have no clue why this module is not working correctly. If I open up python and try: import google.auth it gives the same error of "No module named google.auth"

Any ideas as to how I can fix this?


Solution

  • I was trying to run the program with python -m textinput.py, which used python 2.x

    Using python3 -m textinput.py fixed my issue by using python 3.x