JOOHUUN
파이썬 및 콘다 가상 환경 관련 명령어 본문
- python -m venv qwe : qwe라는 가상환경 생성
- qwe\Scripts\activate : qwe 환경 집입
git bash 가성환경 진입 source qwer\scripts\activate
- deactivate : 탈출
- pip freeze > qwe.txt : pip 목록이 담긴 qwe.txt 파일 생성
- pip install -r qwe.txt : qwe.txt파일에 있는 pip설치
-----------------------------경-----------------계------------------선------------------------------
- conda create -n qwe python=3.9
- conda activate qwe
- conda deactivate
- conda env list
- conda list
- conda env remove -n qwe
- python -m pip install --upgrade pip : 파이썬 명령어 업그레이드
Comments