Установка менеджера пакетов PIP

  • Iisus 15.08.2020
    Добрый день как установить?
    Скачал его установил он мне такую ошибку показывает.
    [code]
    rufit@kali:~$ ls
    Видео Загрузки Музыка 'Рабочий стол'
    Документы Изображения Общедоступные Шаблоны
    rufit@kali:~$ cd Загрузки/
    rufit@kali:~/Загрузки$ ls
    get-pip.py
    rufit@kali:~/Загрузки$ python get-pip.py
    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
    Defaulting to user installation because normal site-packages is not writeable
    Collecting pip
    Downloading pip-20.2.2-py2.py3-none-any.whl (1.5 MB)
    |████████████████████████████████| 1.5 MB 227 kB/s
    Collecting wheel
    Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
    Installing collected packages: pip, wheel
    WARNING: The scripts pip, pip2 and pip2.7 are installed in '/home/rufit/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    WARNING: The script wheel is installed in '/home/rufit/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    Successfully installed pip-20.2.2 wheel-0.35.1
    rufit@kali:~/Загрузки$ pip --version
    bash: pip: команда не найдена
    rufit@kali:~/Загрузки$
    [/code]

    Потом попробовал так
    [code]
    rufit@kali:~/Загрузки$ sudo apt install python-pip
    [/code]

    Вот такая ошибка
    [code]
    rufit@kali:~/Загрузки$ pip --version
    WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
    Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
    To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
    pip 20.2.2 from /home/rufit/.local/lib/python2.7/site-packages/pip (python 2.7)
    rufit@kali:~/Загрузки$ ^C
    [/code]

    Версия
    [code]
    rufit@kali:~/Загрузки$ cat /etc/*-release;
    PRETTY_NAME="Kali GNU/Linux Rolling"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="2020.3"
    VERSION_ID="2020.3"
    VERSION_CODENAME="kali-rolling"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="https://www.kali.org/"
    SUPPORT_URL="https://forums.kali.org/"
    BUG_REPORT_URL="https://bugs.kali.org/"
    rufit@kali:~/Загрузки$
    [/code]
  • ReiCodeReiCode 15.08.2020
    Если не изменяет память, то apt install python3-pip