-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pyenv and Python 3.4.* not installing #3124
Comments
I have the same problem when trying to install python 3.6.5 via pipenv2018.10.13 and pyenv on Mac OS X 10.14. In the stacktrace I see PIPENV_INSTALL_TIMEOUT . So maybe some timeout is causing this bug. |
On Mac OS 10.14 this behavior of pipenv is actually triggered by a problem of pyenv: pyenv/pyenv#1219 . The workaround is to install the missing zlib header files on Mac OS X 10.14 with
After doing this I don't see the PIPENV_INSTALL_TIMEOUT error anymore. However after successfully installing Python 3.6.5 pipenv claims
This happens despite setting the PYENV_ROOT variable. So it could be related to issue #3123 |
I couldn't find a workaround for issue #3123 . So my steps how I got Python 3.6.5 working with pipenv and pyenv were
|
OS: I think that I'm having a potentially related issue? I can promote it to a separate ticket if it doesn't match this one. I used the advanced feature of pipenv where it will detect that pyenv is installed and install the required version of python. That seemed to go well, though I did get the warning: After a reboot and attempting to
The workaround that worked for me was to run |
Issue description
Using pyenv 1.2.7 and pipenv 2018.10.13 I cannot install any variant of Python 3.4 without a stack trace. I have tested it with Python 3.5., 3.6., and 3.7.* and all of those versions work just fine.
Expected result
pipenv --python 3.4.9 correctly installs Python 3.4 with pyenv and the environment functions as expected.
Actual result
A stack trace is thrown from the pipenv code
Steps to replicate
Operating System: Fedora 27 on a desktop
pipenv --install python 3.4
Stack trace
$ pipenv --support
Pipenv version:
'2018.10.13'
Pipenv location:
'/home/megger/.local/pipx/venvs/pipenv/lib64/python3.6/site-packages/pipenv'
Python location:
'/home/megger/.local/pipx/venvs/pipenv/bin/python3'
Python installations found:
3.7.1
:/home/megger/.pyenv/versions/3.7.1/bin/python3.7
3.7.1
:/home/megger/.pyenv/versions/3.7.1/bin/python3.7m
3.6.6
:/home/megger/.pyenv/shims/python3
3.6.6
:/usr/bin/python3.6m
3.6.6
:/usr/bin/python3.6
3.5.6
:/home/megger/.pyenv/versions/3.5.6/bin/python3.5
3.5.6
:/home/megger/.pyenv/versions/3.5.6/bin/python3.5m
2.7.15
:/home/megger/.pyenv/shims/python
2.7.15
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
XDG_MENU_PREFIX
BYOBU_ULIMIT
LANG
GDM_LANG
HISTCONTROL
_VIRTUALENVWRAPPER_API
DISPLAY
HOSTNAME
BYOBU_CONFIG_DIR
OLDPWD
BYOBU_DARK
BYOBU_LIGHT
COLORTERM
USERNAME
XDG_VTNR
SSH_AUTH_SOCK
BYOBU_PREFIX
XDG_SESSION_ID
BYOBU_TTY
USER
DESKTOP_SESSION
BYOBU_TERM
BYOBU_HIGHLIGHT
WAYLAND_DISPLAY
BYOBU_DISTRO
PWD
HOME
BYOBU_PAGER
JOURNAL_STREAM
TMUX
XDG_SESSION_TYPE
XDG_DATA_DIRS
BYOBU_DATE
BYOBU_PYTHON
BYOBU_CHARMAP
XDG_SESSION_DESKTOP
GJS_DEBUG_OUTPUT
BYOBU_READLINK
LOADEDMODULES
MAIL
BYOBU_WINDOW_NAME
VIRTUALENVWRAPPER_SCRIPT
VTE_VERSION
TERM
SHELL
BYOBU_SED
QT_IM_MODULE
XMODIFIERS
XDG_CURRENT_DESKTOP
BYOBU_BACKEND
TMUX_PANE
XDG_SEAT
SHLVL
BYOBU_ACCENT
BYOBU_TIME
BYOBU_RUN_DIR
MODULEPATH
GDMSESSION
GNOME_DESKTOP_SESSION_ID
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
PATH
MODULESHOME
HISTSIZE
GJS_DEBUG_TOPICS
SESSION_MANAGER
LESSOPEN
LS_COLORS
ZSH
WORKON_HOME
PAGER
LESS
LC_CTYPE
LSCOLORS
PYENV_SHELL
PYENV_VIRTUALENV_INIT
_
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PIPENV_ACTIVE
PS1
PYENV_ROOT
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/home/megger/.pyenv/plugins/pyenv-virtualenv/shims:/home/megger/.pyenv/shims:/home/megger/.pyenv/bin:/home/megger/.local/bin:/home/megger/.pyenv/plugins/pyenv-virtualenv/shims:/home/megger/.pyenv/shims:/home/megger/.pyenv/bin:/home/megger/.local/bin:/home/megger/.pyenv/plugins/pyenv-virtualenv/shims:/home/megger/.pyenv/shims:/home/megger/.pyenv/bin:/home/megger/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/megger/bin
SHELL
:/usr/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/megger
Contents of
Pipfile
('/home/megger/Pipfile'):The text was updated successfully, but these errors were encountered: