pyenv not working?
Has anyone tried pyenv yet?
I set up my pyenv by the installer.
These lines were added to .profile:
export PATH="/root/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
, then I could see pyenv is in my path(echo $PATH).
I switched to 2.7.11 after I installed it by the command pyenv shell 2.7.11, but the version of my python was still 2.7.6.
Did I miss something?
Solved
Out of curiosity was this a config issue on your end?
Hmmm.. nope.. I restarted the command line window and the correct version of python was used.
I don' t know why using exit then bash does not work as same as restarting the command line window. :(
My pyenv install command fails without providing a reason. Did this happen to anyone?
@offero pyenv is working as expected (from what I can tell) for me.
I just tried again after updating to the latest pyenv and I successfully installed python 3.6.8. There is still minimal output though during the install process. I would like to see some of the build progress as it goes.
@offero
Have you tried verbose mode?
pyenv install 2.7.15 -v
Do you need more output than what is provided with that?
Hi, I use
- windows 10
- pyenv 2.1.0
- ubuntu 20.04 (on wsl) After i activate env and access python, it says i dont have python on machine. Any idea why this happen? Thanks