Google Assistant Installation on Python3.6 OSX - python

I am trying to install Google Assistant on OSX with Python 3.6.
I successfully ran this command:
python3 -m pip install "google-assistant-sdk[samples]"
But when I run this command with the path to the JSON file from the Google Cloud Platform:
python3 -m googlesamples.assistant.auth_helpers --client-secrets /path-to/secret.json
I get this error:
/usr/local/opt/python3/bin/python3.6: No module named googlesamples.assistant.auth_helpers
Also here's the python3.6/site-packages folder:
Terminal Screenshot
Seems that everything is installed but still it doesn't find the module.
Anybody can tell why and how to solve it?
Many thanks in advance!

The new version of the package use a different tool for negotiating the credentials.
python -m pip install --upgrade google-auth-oauthlib[tool]
google-oauthlib-tool --client-secrets /home/pi/client_secret_client-id.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
See the updated documentation for the package on the PyPi page.

Related

Downloading ms_graph module

I have been trying to download ms_graph module, but none of the available terminal command has been useful. I tried the following command.
pip install Install-Module Microsoft.Graph -Scope CurrentUser
brew install ms_graph
I am currently trying to download in mac.
Thank You.
The installation of the Microsoft Graph Python SDK (preview): please use the following Code:
python -m pip install msgraph-core
python -m pip install azure-identity
Note:
The installation steps are also mentioned in Microsoft Graph Core Python Client Library , Please check for reference.
Hope this helps.

how to do python pip configuration using vs code

I am unable to use pip command either in vs code or cmd although I have installed pip successfully.
It simply shows unrecognisable command pip
Just search for pywin32 on internet and install it ,mean run it as it is required for pip to run on windows .

install python script on windows

I try to install python script on Windows. In the Readme file there is these indications :
cd pattern-2.6
python setup.py install
But I think that these instructions are for Linux. How can I install it on windows?
Thank you
What Python are you using? If it is recent, it will have shipped with pip. If so, open a command window/python prompt(as an administrator) then try:
pip install pattern
If pip is not installed a cursory google will tell you how to get that. Hope this helps.

Installing Yapsy for Python script in Windows

Im trying to run a script in python 2.7 but I need Yapsy, I download from github but I dont know how to install it, I cant find any documentation in github neither in sourceforge
From the manual:
pip install -e "git+https://github.com/tibonihoo/yapsy.git#egg=yapsy&subdirectory=package" or
pip install -e "hg+http://hg.code.sf.net/p/yapsy/code#egg=yapsy&subdirectory=package"

unable to install modules using pip

I newly installed python 2.7.10 which came with pre installed pip python installer.
I'm unable to install any python modules using pip in python
I tries installing through CMD in widows
For example if i'm trying to install twilio using CMD prompt
C:python27>pip install twilio
Cmd Prompt is not giving any errors and it's not proceeding after i used pip install !I tried uninstalling python and installed again but again it's same
Error while installing from python terminal
Commond prompt error
You have to use pip in a terminal, but not in the Python shell. It is a bash command, not Python syntax. In other words, use pip before you type "python".
You have misspelled the module name (use "twilio", instead of "twillio"). And off course you should do it in the command prompt and not in python shell...
;)
Try this:
c:\>
pip install twilio
I too had the same problem
Add the following to the environment path in windows:
"C:>python27\scripts;" (Please paste without the quotes)
This helped me in solving my problem !

Categories