[Solved]: Failed to activate virtualenv. Perhaps pyenv-virtualenv has not been loaded into your shell properly. Please restart current shell and try again.

Initialize your pyenv:

exec $SHELLeval "$(pyenv init -)"eval "$(pyenv virtualenv-init -)"pyenv activate my-virtualenv

To save yourself some typing add this to your .bashrc:

eval "$(pyenv init -)"eval "$(pyenv virtualenv-init -)"