title: I think I have a problem with pyenv on my server
body: <p>I have used pyenv to create some virtualenv for my project, and a few month ago, it seems to make some confusing problem.</p>
  <p>Everytime when I go into the directory which I had set venv, it looks work, but it won't work currectly</p>
  <pre><code>root@VM-4-7-debian:~# cd /www/wwwroot/FFXIVBOT
  (venv-ffxivbot) root@VM-4-7-debian:/www/wwwroot/FFXIVBOT# pyenv versions
    system
    3.8.9
    3.8.9/envs/venv-ffxivbot
    3.8.9/envs/venv-maibot
    3.8.9/envs/venv-telegram
    3.8.9/envs/venv-temp
    3.9.12
  * venv-ffxivbot (set by /www/wwwroot/FFXIVBOT/.python-version)
    venv-maibot
    venv-telegram
    venv-temp
  (venv-ffxivbot) root@VM-4-7-debian:/www/wwwroot/FFXIVBOT# python --version
  Python 2.7.16
  (venv-ffxivbot) root@VM-4-7-debian:/www/wwwroot/FFXIVBOT# ~/.pyenv/versions/venv-ffxivbot/bin/python --version
  Python 3.8.9
  (venv-ffxivbot) root@VM-4-7-debian:/www/wwwroot/FFXIVBOT#
  </code></pre>
  <p>here is the settings in my <code>.bashrc</code>:</p>
  <pre><code>export NVM_DIR=&quot;/www/server/nvm&quot;
  [ -s &quot;$NVM_DIR/nvm.sh&quot; ] &amp;&amp; . &quot;$NVM_DIR/nvm.sh&quot; # This loads nvm
  
  export PATH=&quot;~/.pyenv/bin:$PATH&quot;
  eval &quot;$(pyenv init -)&quot;
  eval &quot;$(pyenv virtualenv-init -)&quot;
  
  export PATH=&quot;$PATH:/usr/local/go/bin:~/go/bin&quot;
  
  
  export HISTTIMEFORMAT=&quot;%d/%m/%y %T &quot;
  
  export PROMPT_COMMAND=&quot;history -a; $PROMPT_COMMAND&quot;alias php='php -c /www/server/php/74/etc/php-cli.ini'
  alias php74='php74 -c /www/server/php/74/etc/php-cli.ini'
  </code></pre>
  <p>I really don't know why it will happen.</p>
  <p>my PATH:</p>
  <pre><code>root@VM-4-7-debian:~# echo $PATH
  /root/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/bin:/www/server/nvm/versions/node/v14.16.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-11-oracle/bin:/usr/lib/jvm/java-11-oracle/db/bin:/usr/local/go/bin:~/go/bin
  root@VM-4-7-debian:~# 
  </code></pre>