반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

chargingport

Python Virtual Environment 가상환경 본문

NOTES/PYTHON

Python Virtual Environment 가상환경

chargingport 2023. 9. 11. 14:37
반응형

 

chargingport-tutoral 이란 가상환경 (venv) 생성

python3 -m venv chargingport-tutorial

 

가상환경 실행:

(윈도우)

tutorial-env\Scripts\activate.bat

(MacOS / UNIX)

source tutorial-env/bin/activate
woo@LAPTOP-6V2PCO70:/tmp/chargingport$ source chargingport-tutorial/bin/activate
(chargingport-tutorial) woo@LAPTOP-6V2PCO70:/tmp/chargingport$

 

가상환경 종료:

deactivate

 

가상환경 삭제:

sudo rm -rf chargingport-tutorial/
반응형

'NOTES > PYTHON' 카테고리의 다른 글

Flask 활용한 API 만들기  (0) 2023.09.18
JSON 중복 항목 제거  (1) 2023.09.18
Python PIP 사용방법  (0) 2023.09.11
pip3 버전 업그레이드  (0) 2023.09.07
ModuleNotFoundError: No module named 'email.mime'; 'email' is not a package  (0) 2023.09.05