당신이 virtualenvwrapper-win
을 사용하고 (PowerShell을 예 반대) DOS 명령 프롬프트를 사용하는 경우, 다음 새 virtualenvs 사용하여 작성됩니다
mkvirtualenv myenv
및
workon myenv
당신을 사용하여 활성화 virtualenvs가 상주 할 위치를 가리 키도록 환경 변수 WORKON_HOME
을 정의해야합니다.
는 virtualenvwrapper-win>=1.2.4
을 설치 한 경우 다음 virtualenvwrapper
명령은 당신에게 목록을 제공합니다 사용할 수있는 명령 :
go|c:\srv> virtualenvwrapper
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development workflow,
making it easier to work on more than one project at a time without
introducing conflicts in their dependencies.
virtualenvwrapper-win is a port of Dough Hellman's virtualenvwrapper to Windows
batch scripts.
Commands available:
add2virtualenv: add directory to the import path
cdproject: change directory to the active project
cdsitepackages: change to the site-packages directory
cdvirtualenv: change to the $VIRTUAL_ENV directory
lssitepackages: list contents of the site-packages directory
lsvirtualenv: list virtualenvs
mkproject: create a new project directory and its associated virtualenv
mkvirtualenv: Create a new virtualenv in $WORKON_HOME
rmvirtualenv: Remove a virtualenv
setprojectdir: associate a project directory with a virtualenv
toggleglobalsitepackages: turn access to global site-packages on/off
virtualenvwrapper: show this help message
whereis: return full path to executable on path.
workon: list or change working virtualenvs
이 대답은 https://stackoverflow.com/questions/4527958/python-virtualenv-questions 도움이 될 수 있습니다 – TylerH