Pyenv support broken
See original GitHub issueBe sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
$ pipenv --version
pipenv, version 2018.11.26
Probably related to #3136, however, I can’t reopen that.
Issue description
pipenv doesn’t find pyenv-python versions.
Expected result
When calling pipenv install pipenv should detect existing versions of Python installed by pyenv. If it doesn’t find a Python version as specified in the Pipfile it should start installing the correct Python version via pyenv and then use it to create the virtual environment.
Actual result / Steps to replicate
$ pyenv versions
* system (set by /Users/$USER/.pyenv/version)
3.5.5
3.6.5
3.6.8
$ env|grep PY
PYENV_ROOT=/Users/$USER/.pyenv
$ pipenv --python 3.6
Warning: Python 3.6 was not found on your system…
Would you like us to install CPython 3.6.8 with pyenv? [Y/n]:
Installing CPython 3.6.8 with pyenv (this may take a few minutes)…
✔ Success!
Warning: The Python you just installed is not available on your PATH, apparently.
$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7'
Python installations found:
3.7.2:/usr/local/bin/python33.7.2:/usr/local/bin/python3.7m2.7.15:/usr/local/bin/python2.7.15:/usr/local/bin/pythonw2.7.10:/usr/bin/python2.7.10:/usr/bin/pythonw2.7.10:/usr/bin/python2.7
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.7.2',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '18.2.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST '
'2018; root:xnu-4903.241.1~1/RELEASE_X86_64',
'python_full_version': '3.7.2',
'python_version': '3.7',
'sys_platform': 'darwin'}
System environment variables:
PATHTERM_PROGRAMDOTNET_CLI_TELEMETRY_OPTOUTPYENV_ROOTSHELLTERMHISTSIZETMPDIRApple_PubSub_Socket_RenderTERM_PROGRAM_VERSIONTERM_SESSION_IDLC_ALLOBJC_DISABLE_INITIALIZE_FORK_SAFETYUSERHISTFILESIZECOMMAND_MODESSH_AUTH_SOCK__CF_USER_TEXT_ENCODING_PWDLANGITERM_PROFILEXPC_FLAGSITERM_ORIG_PS1XPC_SERVICE_NAMEHISTCONTROLCOLORFGBGHOMESHLVLITERM_PREV_PS1ITERM_SESSION_IDLOGNAMELC_CTYPESECURITYSESSIONIDCOLORTERMPIP_DISABLE_PIP_VERSION_CHECKPYTHONDONTWRITEBYTECODEPIP_SHIMS_BASE_MODULEPIP_PYTHON_PATHPYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH:/usr/local/Cellar/pipenv/2018.11.26_2/libexec/tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/sbin:/usr/local/opt/go/libexec/bin:/Users/$USER/go/bin:/Users/$USER/.gem/ruby/2.3.0/bin/SHELL:/bin/bashLANG:en_US.UTF-8PWD:/Users/$USER/dev/myproject
Contents of Pipfile (‘/Users/$USER/dev/myproject/Pipfile’):
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (2 by maintainers)

Top Related StackOverflow Question
this is resolved in master
you can fix it for now by running
pip install -e git+https://github.com/pypa/pipenv.git@master#egg=pipenvsorry for the frustration and thanks for your patience
See #3742