作者:用户rmgq8prdxo | 来源:互联网 | 2023-05-16 09:51
Iusevirtualenvwrapperfromapt.ItsworkingOKwithbashbutIrecentlyswitchedtozsh.Nowwhen
I use virtualenvwrapper from apt. It's working OK with bash but I recently switched to zsh. Now when I try workon
in zsh I get zsh: command not found: workon
Because I'm using oh-my-zsh script/plugins I thought it will be sufficient to add virtualenv and virtualenvwrapper plugins to my .zshrc
plugins=. But it did not help. What else I need to configure to make it work under zsh?
我使用apt的virtualenvwrapper .它在bash中运行得很好,但是我最近换了zsh。现在,当我在zsh尝试工作时,我得到zsh:没有找到的命令:workon,因为我使用的是oh-my-zsh脚本/插件,我认为它足以将virtualenv和virtualenvwrapper插件添加到我的.zshrc插件=。但这并没有帮助。我还需要配置什么来让它在zsh下工作?
PS to be clear - I still can use bash for this - nothing broken here...
PS明确一点——我仍然可以使用bash来解决这个问题——这里没有损坏……
1 个解决方案