Closed
Description
Hi.
I've installed pyenv
with brew and it really have potential to solve all my problems with python versions on mac. Here is the version of pyenv:
→ pyenv --version
pyenv 20140705
The problem is when I try to use shell
command it says there is no such:
→ pyenv shell
pyenv: no such command `shell'
Still I can see shell
command in the list of commands.
Thank you,
Alex L.
Activity
yyuu commentedon Sep 3, 2014
Please review your shell configuration and check if there pyenv is configured properly. You will need following configuration to enable pyenv's
shell
feature.For more information about installation instruction, please see README also.
allomov commentedon Sep 26, 2014
Cool, thank you for answer. Worked for me.
SSUHan commentedon May 24, 2016
thank you, U save my times
DearX-dlx commentedon Mar 7, 2017
In shell window input
eval "$(pyenv init -)";
it work for me
pyenv: no such command
shell'` #938DutraBueno commentedon May 1, 2018
Thank you
majkelx commentedon Aug 6, 2018
Thanks, but on macos, after default installation,
pyenv init
isn't evaluated in non-login shell (or my environment is messed up, buteval "$(pyenv init -)"
is on.bash_profile
only).That means that in every non-login shell
lists
shell
among other commands, butof course this issue explains reasons, but at least message should be different.