인터넷이 차단된 환경에서 뭔가 환경 구성을 하려고 하면 wheel 파일로 하는데.
wheel 파일 설치를 위한 pip도 없는 경우가 있다 -_-;
wheel을 어떻게 설치 하지라고 뒤져보면 다들 pip로 해서 wheel을 하라는데 ㅋ
그걸 모르는 건 아니라서 -_-;
이리저리 구글을 뒤져 봤더니 역시 답이
https://stackoverflow.com/questions/36132350/install-python-wheel-file-without-using-pip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 일단 pip wheeel파일은 있어야 한다. | |
# wget으로 받든 받아서 ftp로 집어 넣든 받는 과장은 생략 하고 | |
# setuptools wheel을 설치한다면 다음과 같이 할 수 있다. | |
# pip wheel은 pip-9.0.3-py2.py3-none-any.whl이고 | |
# setuptools wheel은 setuptools-39.0.1-py2.py3-none-any.whl이다. | |
$ python pip-9.0.3-py2.py3-none-any.whl/pip install --no-index setuptools-39.0.1-py2.py3-none-any.whl | |
Processing ./setuptools-39.0.1-py2.py3-none-any.whl | |
Installing collected packages: setuptools | |
Successfully installed setuptools-39.0.1 | |
# pip없이 pip wheel로 pip | |
$ python pip-9.0.3-py2.py3-none-any.whl/pip install --no-index pip-9.0.3-py2.py3-none-any.whl |
wheel파일을 통해 바로 명령어를 사용하는 것인데 !
이렇게 하여 잘 설치는 완료 물론 이렇게 해서 pip도 설치 가능하다
pip wheel을 통해 pip wheel을 설치 -ㅅ-;
'IT' 카테고리의 다른 글
윈도우8 윈도우10 FAT32 포맷, 블랙박스 메모리 포맷 (1) | 2018.05.30 |
---|---|
[LineageOS] 커스텀 롬 갤럭시 노트2 안드로이드 7 누가 Nougat (1) | 2018.05.07 |
T World 2G폰 교체 지원 캠페인 (0) | 2018.05.05 |
[스케줄러] 윈도우 스케줄러 등록 유의 사항 (0) | 2018.05.01 |
[bash] command line 커맨드 라인 cmd base man page (0) | 2018.05.01 |