본문 바로가기

IT/Python

폐쇄망 Python pip setting

폐쇄망 Python pip setting

 

1. 폐쇄망이 아닌곳에서 pakage 설치

 

2. 설치된 모듈을 리스트로 만든다

 

pip freeze > requirements.txt

 

 

 

3. 모듈 리스트 다운로드

 

pip download -r requirements.txt

 

 

 

 

 

4. 폐쇄망으로 파일들 이동 & 설치

 

python -m pip install --no-index --find-links="./" -r requirements.txt

python -m pip install --no-index --find-links="./" 설치모듈이름

'IT > Python' 카테고리의 다른 글

Python configparser Module  (0) 2021.04.14
Python filename pattern module  (0) 2021.01.22
CentOS7 Python3 Setup  (0) 2021.01.20
Python을 활용하여 Kakao 등록 팀원 UUID 값 가지고오기  (0) 2021.01.14
Python을 활용하여 Kakao MSG Send Me  (0) 2021.01.14