[pip] You are using pip version ?.?.?, however version ?.?.? is available.

정리맨·2022년 9월 21일
0

[root@localhost Python-3.7.3]# pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/4b/30/e15b806597e67057e07a5acdc135216ccbf76a5f1681a324533b61066b0b/pip-22.2.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-t45e5Y/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-t45e5Y/pip/
You are using pip version 8.1.2, however version 22.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

이런 경우 나는 as-is 버전이 너무 낮아서 한번에 to-be 버전으로 업데이트가 불가능한 경우였다.

pip install --upgrade pip==20.3
20.3버전으로 업그레이드 후
pip install --upgrade pip
최신 버전으로 업그레이드 하여 해결

출처 : https://heum-story.tistory.com/214

profile
ㅎㅎ

0개의 댓글