Invalid Syntax Installing pip - ez_setup.py

billyfurlong at gmail.com billyfurlong at gmail.com
Mon Dec 1 11:58:20 EST 2014


Hi all,

Getting an error when I try to install ez_setup.py.  I thought that this was an issues with an incorrect version of python, so I upgraded to 2.7.5 successfully.  But unfortunately I get the same error.


[root at yyboxname tmp]# wget https://bootstrap.pypa.io/ez_setup.py --no-check-certificate -O - | sudo python
--2014-12-01 11:30:17--  https://bootstrap.pypa.io/ez_setup.py
Resolving bootstrap.pypa.io... 23.235.39.175
Connecting to bootstrap.pypa.io|23.235.39.175|:443... connected.
WARNING: certificate common name `*.c.ssl.fastly.net' doesn't match requested host name `bootstrap.pypa.io'.
HTTP request sent, awaiting response... 200 OK
Length: 10476 (10K) [text/x-python]
Saving to: `STDOUT'

100%[=============================================================================>] 10,476      --.-K/s   in 0s

2014-12-01 11:30:17 (31.4 MB/s) - `-' saved [10476/10476]

  File "<stdin>", line 51
    with archive_context(archive_filename):
                       ^
SyntaxError: invalid syntax


Any help or direction would be greatly appreciated.

Billy,



More information about the Python-list mailing list