C:\Users\eybond>easy_install -U pip
Searching for pip
Reading https://pypi.org/simple/pip/
Downloading https://files.pythonhosted.org/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz#sha256=fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a
Best match: pip 21.3.1
Processing pip-21.3.1.tar.gz
Writing c:\users\eybond\appdata\local\temp\easy_install-ogiq9z\pip-21.3.1\setup.cfg
Running pip-21.3.1\setup.py -q bdist_egg --dist-dir c:\users\eybond\appdata\local\temp\easy_install-ogiq9z\pip-21.3.1\egg-dist-tmp-kqlpjm
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\Scripts\easy_install.exe\__main__.py", line 9, in <module>
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 2316, in main
**kw
File "c:\python27\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "c:\python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "c:\python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 418, in run
self.easy_install(spec, not self.no_deps)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\python27\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
raise
File "c:\python27\lib\contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\python27\lib\contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:\python27\lib\site-packages\setuptools\sandbox.py", line 44, in _execfile
code = compile(script, filename, 'exec')
File "c:\users\eybond\appdata\local\temp\easy_install-ogiq9z\pip-21.3.1\setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax