rmvirtualenv<name>不会删除en

2024-09-25 06:37:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我是Python的初学者。在

我正在尝试删除我以前创建的virtualenv,方法是在C:>;virtualenvs下使用此命令

rmvirtualenv test

然后我得到了以下信息

virtualenv“test”不存在。在

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

请建议如何使用上面的命令删除该env。在


Tags: 方法test命令gt目录信息virtualenvwindows
1条回答
网友
1楼 · 发布于 2024-09-25 06:37:29

我已经解决了这个问题。在

考虑到你已经安装了virtualenvwrapper win(如果是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

就这样。在

相关问题 更多 >