You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following this tutorial https://developers.google.com/tasks/quickstart/python forcing the code to python 2.
i've installed the libraries with python2.7 -m pip install --upgrade --target=lib/ google-api-python-client google-auth-httplib2 google-auth-oauthlib
and set wf to use libraries
if __name__ == u"__main__":
wf = Workflow(libraries=['./lib'])
sys.exit(wf.run(main))
Thus, the import in my code works, but with the libraries they fail
15:31:22 workflow.py:2080 ERROR No module named google.api_core.client_options
Traceback (most recent call last):
File "/Users/user/Documents/alfred/Alfred.alfredpreferences/workflows/user.workflow.A12936D2-8F14-4620-9349-2CDBD6E831BF/workflow/workflow.py", line 2073, in run
func(self)
File "google_tasks.py", line 17, in main
from googleapiclient.discovery import build
File "./lib/googleapiclient/discovery.py", line 50, in <module>
import google.api_core.client_options
ImportError: No module named google.api_core.client_options
any idea how to use these librarries? or where the problem is?
The text was updated successfully, but these errors were encountered:
I'm following this tutorial https://developers.google.com/tasks/quickstart/python forcing the code to python 2.
i've installed the libraries with
python2.7 -m pip install --upgrade --target=lib/ google-api-python-client google-auth-httplib2 google-auth-oauthlib
and set wf to use
libraries
Thus, the import in my code works, but with the libraries they fail
any idea how to use these librarries? or where the problem is?
The text was updated successfully, but these errors were encountered: