@Drno

Поможете поставить Pip?

Ubuntu 16.04 (i386) x32...
При установке pip вот такая ошибка. Установка идет скриптом Ansible (сторонее ПО ставится, там требуется pip для работы)
spoiler
TASK [init : Update pip components] ******************************************* *
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip2", "ins tall", "-U", "pip"], "msg": "stdout: Collecting pip\n Downloading https://file s.pythonhosted.org/packages/da/f6/c83229dcc3635cde... 7a41093fab58011/pip-21.3.1.tar.gz (1.7MB)\n Complete output from command pyt hon setup.py egg_info:\n Traceback (most recent call last):\n File \"\", line 1, in \n File \"/tmp/pip-build-w_l1aG/pip/setup.py\ ", line 7\n def read(rel_path: str) -> str:\n ^\ n SyntaxError: invalid syntax\n \n ----------------------------------- -----\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-w_l1aG/pip/\nYou are using pip version 8.1.1, however versio n 21.3.1 is available.\nYou should consider upgrading via the 'pip install --up grade pip' command.\n"}


Команда pip install --upgrade pip

spoiler
pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/da/f6/c832...
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-k1Cn2i/pip/setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-k1Cn2i/pip/
You are using pip version 8.1.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Поможите, люди добрые)
  • Вопрос задан
  • 353 просмотра
Решения вопроса 1
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы