(python2.7, MacOS10.8)
$ mkvirtualenv oldenv $ cpvirtualenv oldenv newenv $ rmvirtualenv oldenv
MacPorts でインストールした場合のメモ
.bashrc
## virtualenv setting if [ -f /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh ]; then export VIRTUALENVWRAPPER_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python export VIRTUALENVWRAPPER_VIRTUALENV=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv-2.7 export VIRTUALENVWRAPPER_VIRTUALENV_CLONE=/opt/local/bin/virtualenv-clone-2.7 export WORKON_HOME=$HOME/.virtualenvs source /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh fi
参考リンク