>>> import apiclient
usage: [-h] -u U
: error: argument -u is required
and the python console terminates.
Has anyone came across this problem?
I'd appreciate any kind of help..
Thanks,
Liran.
$ sudo pip install google-api-python-client
Password:
The directory '/Users/Shirkan/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/Shirkan/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): google-api-python-client in /usr/local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): six<2,>=1.6.1 in /usr/local/lib/python2.7/site-packages/six-1.10.0-py2.7.egg (from google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): oauth2client<3,>=2.0.0 in /usr/local/lib/python2.7/site-packages (from google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): httplib2<1,>=0.8 in /usr/local/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg (from google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): uritemplate<1,>=0.6 in /usr/local/lib/python2.7/site-packages/uritemplate-0.6-py2.7.egg (from google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): pyasn1-modules>=0.0.5 in /usr/local/lib/python2.7/site-packages/pyasn1_modules-0.0.8-py2.7.egg (from oauth2client<3,>=2.0.0->google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): rsa>=3.1.4 in /usr/local/lib/python2.7/site-packages (from oauth2client<3,>=2.0.0->google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /usr/local/lib/python2.7/site-packages/pyasn1-0.1.9-py2.7.egg (from oauth2client<3,>=2.0.0->google-api-python-client)
Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.5.0 in /usr/local/lib/python2.7/site-packages (from uritemplate<1,>=0.6->google-api-python-client)
Though I'm not quite sure I'm using the google-api-python-client when I try to "import apiclient" - How can I validate it?
Thanks,
Liran.