Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81758

Invalid Syntax Installing pip - ez_setup.py

Newsgroups comp.lang.python
Date 2014-12-01 08:58 -0800
Message-ID <b24b1d2e-df53-49ab-86c8-26014c30cb59@googlegroups.com> (permalink)
Subject Invalid Syntax Installing pip - ez_setup.py
From billyfurlong@gmail.com

Show all headers | View raw


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@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,

Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Invalid Syntax Installing pip - ez_setup.py billyfurlong@gmail.com - 2014-12-01 08:58 -0800
  Re: Invalid Syntax Installing pip - ez_setup.py Chris Angelico <rosuav@gmail.com> - 2014-12-02 04:06 +1100
    Re: Invalid Syntax Installing pip - ez_setup.py Billy Furlong <billyfurlong@gmail.com> - 2014-12-01 10:14 -0800
      Re: Invalid Syntax Installing pip - ez_setup.py Billy Furlong <billyfurlong@gmail.com> - 2014-12-01 11:09 -0800

csiph-web