ds_store_exp icon indicating copy to clipboard operation
ds_store_exp copied to clipboard

Having issue installing pip2 requirements

Open abundov opened this issue 3 years ago • 0 comments

┌──(kali㉿kali)-[~/Downloads/ds_store_exp] └─$ sudo pip2 install -r requirements.txt 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. Collecting ds-store==1.1.2 Using cached ds_store-1.1.2.tar.gz (13 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y2WToF/ds-store/setup.py'"'"'; file='"'"'/tmp/pip-install-y2WToF/ds-store/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 /tmp/pip-pip-egg-info-Y9U1sq cwd: /tmp/pip-install-y2WToF/ds-store/ Complete output (10 lines): /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: invalid command 'egg_info'
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. WARNING: You are using pip version 20.3.4; however, version 21.1.1 is available. You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command.

  • Any suggestions on a fix for this?
  • Thanks for your time and effort.
  • Best regards,
  • kaiz3n

abundov avatar May 18 '21 14:05 abundov