1

I used

wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py

and then

python get-pip.py

and get error:

File "get-pip.py", line 20281
"""
6
  • It'd be lovely to see the full error. Anyway, line 20281 is the end of the multi-line binary string. Not sure why that's a syntax error though. Commented Mar 27, 2014 at 22:19
  • File "get-pip.py", line 20281 """ ^ SyntaxError: invalid syntax Commented Mar 27, 2014 at 22:21
  • Seems to work just fine for me on Ubuntu 12.04. Are you sure the wget completed okay? What is the md5sum of the file? Mine is 49808f380bf193aef5be27e2d7f90503. Commented Mar 27, 2014 at 22:30
  • The md5sum is the same. Commented Mar 28, 2014 at 8:17
  • Maybe it's the version of python? Although I don't know if that would do it. Commented Mar 28, 2014 at 14:34

2 Answers 2

1

You need to a version of Python installed that is at least 2.6. For more information see the following link: http://pip.readthedocs.org/en/latest/installing.html#id6

Sign up to request clarification or add additional context in comments.

Comments

1

I had a similar problem but then on i realized my Python version was 2.4. Install the 2.7 version and run the python2.7 get-pip.py It worked for me!

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.