我想使用我自己的virtualenv,它是由Ubuntu 14.04中的conda创建的。但问题是,在使用cd命令更改目录时,virtualenv被切换到base。
conda activate py2 # using own virtualenv 'py2'
cd ..
# Then, the virtualenv will be deactivated and eventually switched to base env.如何在显式输入conda deactivate之前连续使用自己的virtualenv
发布于 2019-04-04 11:58:07
哦,我找到了答案,这只是zsh(bash)的问题。
实际上,我使用的是zsh,它是从这个git存储库派生的。(https://github.com/wookayin/dotfiles)
此软件包包含一些自动切换功能,同时更改目录,以方便用户。
总而言之,这不是问题,而是一个额外的功能。
https://stackoverflow.com/questions/55488020
复制相似问题