pip유틸리티를 사용하여 Python 추가 패키지의 설치 할 때 설치 완료 로그를 출력한 후 다음과 같은 경고가 표시되는 경우가 있습니다. 이런 경우 주저 말고 최신으로 업그레이드 하십시오.
Z:\>pip install pyinstall
Collecting pyinstall
Downloading pyinstall-0.1.4.tar.gz (37 kB)
Using legacy 'setup.py install' for pyinstall, since package 'wheel' is not installed.
Installing collected packages: pyinstall
Running setup.py install for pyinstall ... done
Successfully installed pyinstall-0.1.4
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\users\userid\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.
업그레이드 명령은 위의 경고 메시지 안에 출력 되어 있습니다. 환경 변수 PATH에 python.exe 명령의 위치가 추가 되어 있다면 전체 경로를 생략할 수 있습니다.실행 결과는 다음과 같습니다.
Z:\>python.exe -m pip install --upgrade pip
Collecting pip
Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
Successfully uninstalled pip-20.2.3
Successfully installed pip-21.0.1
Python 유틸리티 pip에 대해서는 다음 글을 참조하십시오.
pip 패키지
Python 추가 패키지의 설치 등을 실시하는 유틸리티 패키지 입니다. pip는The Python Pa...