Python
Python pip 대상 라이브러리 버전 확인
U333
2021. 3. 10. 09:40
C:\>pip install 라이브러리명==?
끝에 "==?"를 붙이면 설치하지 않고 가능한 버전을 출력한다.
C:\Windows\System32>pip install opencv-python==?
ERROR: Could not find a version that satisfies the requirement opencv-python==?
(from versions: 3.4.8.29, 3.4.9.31, 3.4.9.33, 3.4.10.35, 3.4.10.37, 3.4.11.39, 3
.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 4.1.2.30, 4.2.0.32, 4.2.0.34, 4.3.0.3
6, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48)
ERROR: No matching distribution found for opencv-python==?
WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\python38\python.exe -m pip install --u
pgrade pip' command.