Skip to content

OSX: pyenv which not finding installed python #348

@n8henrie

Description

@n8henrie

New to pyenv. Installed with homebrew today, set PYENV_ROOT to /usr/local/opt/pyenv, put in the env variables, logged out and back in. Installed python 3.3.6 no problem in addition to my system python 3.4.3.

However, I was hoping the pyenv which command would give me a full path, and it doesn't.

$ pyenv versions
* system (set by /usr/local/opt/pyenv/version)
  3.3.6
$ pyenv which python3.3
pyenv: python3.3: command not found

The `python3.3' command exists in these Python versions:
  3.3.6

$ pyenv which 3.3.6
pyenv: 3.3.6: command not found

Tried logging out and in with no result.

3.3.6 seems to be working fine.

$ ls /usr/local/opt/pyenv/versions
3.3.6
${PYENV_ROOT}/versions/3.3.6/bin/python3.3
Python 3.3.6 (default, Apr  5 2015, 12:18:46) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions