How do I remove/delete a virtualenv?

前端 未结 16 1017
感动是毒
感动是毒 2020-11-29 14:25

I created an environment with the following command: virtualenv venv --distribute

I cannot remove it with the following command: rmvirtualenv venv

16条回答
  •  臣服心动
    2020-11-29 15:01

    Use rmvirtualenv

    Remove an environment, in the $WORKON_HOME.

    Syntax:

    rmvirtualenv ENVNAME
    

    You must use deactivate before removing the current environment.

    $ rmvirtualenv my_env
    

    Reference: http://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html

提交回复
热议问题