You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed python 2.7.6 and python 3.4.1 with pyenv. when i change the python version from 2.7.6 to 3.4.1. the python command works fine and the python 3.4.1 interpreter launches. however, when i run pydoc, terminal shows this:
pyenv: pydoc: command not found
The `pydoc' command exists in these Python versions: 2.7.6
I know there is pydoc3 pointing to pydoc3.4 in ~/.pyenv/versions/3.4.1/bin, i have to run pydoc3 or pydoc3.4 to launch pydoc. if this is the correct behavior? or it can be enhanced?
The text was updated successfully, but these errors were encountered:
It is the expected behaviour with current impl of pyenv, because it will not do nothing for executable filenames other than python and pip.
Creating symlink of pydoc in ~/.pyenv/versions/3.4.1/bin by hand might help. For now, I don't have any better idea to deal with this issue.
kevin4fly
changed the title
if python related commands should change also when we change python version?
if python related commands should be changed also when we change python version?
Jun 3, 2014
I have installed
python 2.7.6
andpython 3.4.1
withpyenv
. when i change thepython
version from 2.7.6 to 3.4.1. thepython
command works fine and thepython 3.4.1
interpreter launches. however, when i runpydoc
, terminal shows this:I know there is
pydoc3
pointing topydoc3.4
in~/.pyenv/versions/3.4.1/bin
, i have to runpydoc3
orpydoc3.4
to launchpydoc
. if this is the correct behavior? or it can be enhanced?The text was updated successfully, but these errors were encountered: