Deactivate pyenv in current shell
<p>My .bashrc has this:</p>

<pre><code>enable-pyenv () {
    # Load pyenv automatically by adding
    # the following to your profile:

    export PATH="$HOME/.pyenv/bin:$PATH"
    eval "$(pyenv init -)"
    eval "$(pyenv virtualenv-init -)"
}

enable-pyenv
</code></pre>

<p>Which enables pyenv. In some situations, I want to (tempararily) disable pyenv. How can I do this?</p>

<p>Try <code>pyenv deactivate</code>, to manually deactivate the virtual env.</p>

<p>Doc here: <a href="https://github.com/yyuu/pyenv-virtualenv" rel="nofollow">https://github.com/yyuu/pyenv-virtualenv</a></p>

python pyenv