다른 명령
새 문서: 1. Python whl 파일 설치 방법 1) 설치하고자 하는 whl 파일을 다운로드 받는다. https://pypi.org/ 2) python -m pip install whl파일명 Category:python |
편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
1. Python whl 파일 설치 방법 | == 1. Python whl 파일 설치 방법 == | ||
1) 설치하고자 하는 whl 파일을 다운로드 받는다. | 1) 설치하고자 하는 whl 파일을 다운로드 받는다. | ||
| 5번째 줄: | 5번째 줄: | ||
2) python -m pip install whl파일명 | 2) python -m pip install whl파일명 | ||
== 2: Using pip download (Recommended) == | |||
This automatically grabs all required dependencies for you. | |||
On the internet-connected machine: | |||
<source lang=bash> | |||
pip download PyQt5 -d ./pyqt5_offline | |||
</source> | |||
This downloads the PyQt5 wheel and all its dependencies into the pyqt5_offline folder. | |||
On the offline machine: | |||
Transfer the folder and run: | |||
<source lang=bash> | |||
pip install --no-index --find-links=./pyqt5_offline PyQt5 | |||
</source> | |||
[[Category:python]] | [[Category:python]] | ||
2025년 12월 24일 (수) 17:13 기준 최신판
1. Python whl 파일 설치 방법
1) 설치하고자 하는 whl 파일을 다운로드 받는다.
https://pypi.org/
2) python -m pip install whl파일명
2: Using pip download (Recommended)
This automatically grabs all required dependencies for you. On the internet-connected machine:
pip download PyQt5 -d ./pyqt5_offline
This downloads the PyQt5 wheel and all its dependencies into the pyqt5_offline folder. On the offline machine: Transfer the folder and run:
pip install --no-index --find-links=./pyqt5_offline PyQt5