Installing

67 views
Skip to first unread message

Lluís Revilla

unread,
Mar 11, 2015, 2:36:29 PM3/11/15
to google-api-p...@googlegroups.com
I am using windows 7 and I want to use google-api-python-client.
I have tried to install google-api-python-client with pip install google-api-python-client. But I get a long error which ends with:

    File "c:\Python27\lib\ntpath.py", line 84, in join
      result_path = result_path + p_path
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 3: ordinal not in range(128)

And manually  but I get the following:

C:\...\google-api-python-client-1.4.0>python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to google_api_python_client.egg-info\requires.txt
writing google_api_python_client.egg-info\PKG-INFO
writing top-level names to google_api_python_client.egg-info\top_level.txt
writing dependency_links to google_api_python_client.egg-info\dependency_links.t
xt
reading manifest file 'google_api_python_client.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.json' under directory 'apiclient'
warning: no files found matching 'README'
warning: no files found matching 'FAQ'
warning: no files found matching 'setpath.sh'
writing manifest file 'google_api_python_client.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build\bdist.win32
creating build\bdist.win32\egg
creating build\bdist.win32\egg\apiclient
copying build\lib\apiclient\__init__.py -> build\bdist.win32\egg\apiclient
creating build\bdist.win32\egg\googleapiclient
copying build\lib\googleapiclient\channel.py -> build\bdist.win32\egg\googleapic
lient
copying build\lib\googleapiclient\discovery.py -> build\bdist.win32\egg\googleap
iclient
copying build\lib\googleapiclient\errors.py -> build\bdist.win32\egg\googleapicl
ient
copying build\lib\googleapiclient\http.py -> build\bdist.win32\egg\googleapiclie
nt
copying build\lib\googleapiclient\mimeparse.py -> build\bdist.win32\egg\googleap
iclient
copying build\lib\googleapiclient\model.py -> build\bdist.win32\egg\googleapicli
ent
copying build\lib\googleapiclient\sample_tools.py -> build\bdist.win32\egg\googl
eapiclient
copying build\lib\googleapiclient\schema.py -> build\bdist.win32\egg\googleapicl
ient
copying build\lib\googleapiclient\__init__.py -> build\bdist.win32\egg\googleapi
client
byte-compiling build\bdist.win32\egg\apiclient\__init__.py to __init__.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\channel.py to channel.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\discovery.py to discovery.p
yc
byte-compiling build\bdist.win32\egg\googleapiclient\errors.py to errors.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\http.py to http.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\mimeparse.py to mimeparse.p
yc
byte-compiling build\bdist.win32\egg\googleapiclient\model.py to model.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\sample_tools.py to sample_t
ools.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\schema.py to schema.pyc
byte-compiling build\bdist.win32\egg\googleapiclient\__init__.py to __init__.pyc

creating build\bdist.win32\egg\EGG-INFO
copying google_api_python_client.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-
INFO
copying google_api_python_client.egg-info\SOURCES.txt -> build\bdist.win32\egg\E
GG-INFO
copying google_api_python_client.egg-info\dependency_links.txt -> build\bdist.wi
n32\egg\EGG-INFO
copying google_api_python_client.egg-info\requires.txt -> build\bdist.win32\egg\
EGG-INFO
copying google_api_python_client.egg-info\top_level.txt -> build\bdist.win32\egg
\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist\google_api_python_client-1.4.0-py2.7.egg' and adding 'build\bdist
.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing google_api_python_client-1.4.0-py2.7.egg
Copying google_api_python_client-1.4.0-py2.7.egg to c:\python27\lib\site-package
s
Adding google-api-python-client 1.4.0 to easy-install.pth file

Installed c:\python27\lib\site-packages\google_api_python_client-1.4.0-py2.7.egg

Processing dependencies for google-api-python-client==1.4.0
Searching for uritemplate>=0.6
Download error on https://pypi.python.org/simple/uritemplate/: [SSL: CERTIFICATE
_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not
be found!
Couldn't find index page for 'uritemplate' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAIL
ED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
No local packages or download links found for uritemplate>=0.6
error: Could not find suitable distribution for Requirement.parse('uritemplate>=
0.6')

How can I install it properly?
Reply all
Reply to author
Forward
0 new messages