\(\texttt{virtualenvwrapper}\) Extension
\(\texttt{virtualenvwrapper}\) 확장팩
* Official \(\texttt{Virtualenvwrapper}\) Document (URL)
virtualenvwrapper 5.0.1.dev2 — virtualenvwrapper 5.0.1.dev2 documentation
Shell Aliases Since virtualenvwrapper is largely a shell script, it uses shell commands for a lot of its actions. If your environment makes heavy use of shell aliases or other customizations, you may encounter issues. Before reporting bugs in the bug track
virtualenvwrapper.readthedocs.io
- 다수의 파이썬 프로그램들 사이에 라이브러리 버전이 상이하여 발생할 수 있는 문제를 해결하기 위한 가상 환경으로,
프로젝트별로 필요한 라이브러리의 Dependency(의존성)을 관리할 수 있게 한다.
- \(\texttt{virtualenvwrapper}\)는 \(\texttt{virtualenv}\) (URL)의 하위 Extension이며,
\(\texttt{virtualenv}\)는 Python 환경 설정에 관한 기능들을 제공하는 Extension이다.
- \(\texttt{virtualenvwrapper}\)는 \(\texttt{pip}\) 명령어를 통해 설치할 수 있다.
* Installation of \(\texttt{virtualenvwrapper}\)
pip install virtualenv virtualenvwrapper-win
# Windows OS용 virtualenvwrapper 설치 명령어
\(\texttt{virtualenvwrapper}\) Instructions (\(\texttt{virtualenvwrapper}\) 명령어)
\(\texttt{virtualenvwrapper}\) Instructions | Description |
\(\texttt{mkvirtualenv}\) <가상환경_이름> | - 가상 환경 <가상환경_이름>을 생성한다. |
\(\texttt{deactivate}\) | - 가상 환경을 종료한다. |
\(\texttt{rmvirtualenv}\) <가상환경_이름> | - 가상 환경 <가상환경_이름>을 삭제한다. |
\(\texttt{workon}\) <가상환경_이름> | - 가상 환경 <가상환경_이름>으로 진입한다. |
\(\texttt{workon}\) | - 생성되어 있는 가상 환경들의 리스트를 출력한다. |
Reference: virtualenvwrapper (URL)