virtualenv 입문

virtualenv 다운로드 주소
https://pypi.python.org/pypi/virtualenv#downloads

virtualenv 설치
python setup.py install

virtualenv 폴 더 만 들 기
d:\python_env\test_virtualenv>c:/Python27/scripts/virtualenv test
New python executable in test\Scripts\python.exe
Installing setuptools, pip, wheel...done.

가상 환경 에 진입 하 다
d:\python_env\test_virtualenv\test\Scripts>activate
(test) d:\python_env\test_virtualenv\test\Scripts>

이 럴 때 python 명령 을 실행 할 수 있 습 니 다. 현재 가상 python 환경 에 모두 설 치 됩 니 다.
pip install Django==1.8.2
pip install tornado
pip install xlrd
pip install xlwt

가상 환경 종료
d:\python_env\test_virtualenv\test\Scripts>deactivate

pycharm 가상 환경 사용
 settings ,      c:/Python27/scripts/python  d:\python_env\test_virtualenv\test\Scripts\python

좋은 웹페이지 즐겨찾기