> On May 3, 2015, at 5:21 PM, Skip Montanaro <[email protected]> wrote: > > I want to install google-api-python-client using pip. I can see it when I > search from the command line: > > % pip-2.7 search google | egrep google-api > google-api-python-client - Google API Client Library for Python > google-apitools - client libraries for humans > google-api-python-client-py3 - Google API Client Library for Python (python > 3x port) > google-apis-client-generator - Google Apis Client Generator > > I can see it in PyPI: > > <Screen Shot 2015-05-03 at 4.16.16 PM.png> > > When I try to install it, pip denies any knowledge of the package: > > % pip-2.7 install --user google-api-python-client > Downloading/unpacking google-api-python-client > Cannot fetch index base URL http://pypi.python.org/simple/ > <http://pypi.python.org/simple/> > Could not find any downloads that satisfy the requirement > google-api-python-client > No distributions at all found for google-api-python-client > Storing complete log in /Users/skip/.pip/pip.log > > I can visit http://pypi.python.org/simple/ <http://pypi.python.org/simple/> > and see that google-api-python-client is one of the links. Looking at pip.log > I see that it's somehow translating "http" into "https": > > Could not fetch URL http://pypi.python.org/simple/google-api-python-client/ > <http://pypi.python.org/simple/google-api-python-client/>: <urlopen error > unknown url type: https> > > Am I missing something? > >
Well, PyPI redirects HTTP to HTTPS, so it’s going to be just following that redirect. --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
