I tried the command pip install resume-parser
but I get the following error:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting resume-parser
Using cached resume_parser-0.6.tar.gz (4.9 MB)
ERROR: Command errored out with exit status 1:
command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7q/gt1dzy7d1js5xbdmw1x36f_00000gn/T/pip-install-95AZbT/resume-parser/setup.py'"'"'; __file__='"'"'/private/var/folders/7q/gt1dzy7d1js5xbdmw1x36f_00000gn/T/pip-install-95AZbT/resume-parser/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/7q/gt1dzy7d1js5xbdmw1x36f_00000gn/T/pip-pip-egg-info-BbhRgU
cwd: /private/var/folders/7q/gt1dzy7d1js5xbdmw1x36f_00000gn/T/pip-install-95AZbT/resume-parser/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/7q/gt1dzy7d1js5xbdmw1x36f_00000gn/T/pip-install-95AZbT/resume-parser/setup.py", line 15, in <module>
long_description=open('README.rst', encoding="utf8").read(),
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
How can I fix this?