Currently I am using Windows 7 and Python 2.4.3. Whenever I try to install pip using the get-pip.py it gives me the following error. Can anyone tell me how to resolve it?
C:\Users\nnkashyap\Downloads>python get-pip.py
File "get-pip.py", line 43
_b85alphabet = (b"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
^
SyntaxError: invalid syntax
C:\Users\nnkashyap\Downloads>python
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Make sure you got this well, as it is in the documentation:
It looks like a corruption problem to me. If that does not work, try this:
Install https://chocolatey.org/ which will handle most pip things for you. It is really easy to install.
You can then type
choco install pipin a command window. You can also use it for anaconda, python itself, and many other things.I usually install anaconda first thing instead of "pythong" itself, as the anaconda prompt handles everything else quite well, and for a user without a lot of knowledge, it is quite easy!