How do I remove/delete a virtualenv?

前端 未结 16 1031
感动是毒
感动是毒 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 14:59

    from virtualenv's official document https://virtualenv.pypa.io/en/stable/userguide/

    Removing an Environment

    Removing a virtual environment is simply done by deactivating it and deleting the environment folder with all its contents:

    (ENV)$ deactivate
    $ rm -r /path/to/ENV
    

提交回复
热议问题