2016-08-13 57 views
0

我是Python的初学者。rmvirtualenv <name>不会删除env

我想删除我已经通过在C使用此命令之前创建的virtualenv:> virtualenvs

rmvirtualenv test 

,然后我得到了以下

的virtualenv“测试”并不存在。

我仍然可以看到在virtualenvs下列出的目录。我在Windows平台上,已经安装virtualwrapper-win。

请建议如何使用上述命令摆脱env。

+1

您确定使用virtualenvwrapper创建了虚拟环境吗? – mic4ael

+1

http://stackoverflow.com/questions/11005457/how-do-i-remove-delete-a-virtualenv – Harrison

+0

@ mic4ael不,我不知道。该虚拟环境首先创建,然后我直接在C驱动器下安装virtualenvwrapper。 – Raj

回答

0

我已经整理出这个问题。

考虑您已经安装virtualenvwrapper双赢(如Windows)中

的步骤是 -

1.Go to directory 'virtualenvs' (where all the envs are listed) 
2.Make an env by using this command -- mkvirtualenv test (where test is a env name in my case) 
3. Use this command -- workon test 
4. Deactivate test 
5. To remove test use this command -- rmvirtualenv test 

就是这样。