1024programmer Java “google-oauthlib-tool: command not found” when trying to install GoogleAssistant on raspbian

“google-oauthlib-tool: command not found” when trying to install GoogleAssistant on raspbian

I’m trying to install google assistant on a newly setup pi 3 using Raspbian. I got the message “No module named googlesamples.assistant.auth_helpers”, so I followed the instructions in the answer to this question: No module named googlesamples.assistant.auth_helpers

The first two commands seem to complete, but the third command says “google-oauthlib-tool: command not found”

My programming skills are too rusty to figure out the problem.

Python 3.5.3; Forgot how to find the SDK version, but it should be the latest.

Any help is greatly appreciated.

1> Nick Felker..:

Did you follow the instructions to set up a virtual Python environment?

sudo apt-get update
 sudo apt-get install python3-dev python3-venv
 # Use python3.4-venv if the package cannot be found.
 python3 -m venv env
 env/bin/python -m pip install --upgrade pip setuptools
 source env/bin/activate

You should then be able to install the oauth tools using pip:

python -m pip install --upgrade google-auth-oauthlib[tool]

You can display all installed packages using the following command pip freeze

pip freeze | grep google

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/772509

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us


Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top