-
-
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
pipenv is unable to find asdf installed python when run from fish #3242
Comments
Hey @halicki, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
Support for this has been added upstream in in pythonfinder in sarugaku/pythonfinder#36 and will be added to pipenv in the next release (tomorrow) |
That's awesome! Thanks. 🍾 |
Hey @techalchemy, do you know when the next release with this fix might get pushed to PyPI? |
Issue description
On ubuntu 18.04
pipenv install
run fromfish
is unable to find specific python version installed withasdf
.In my oppinion it's reason is that module pipenv.vendor.pythonfinder.environment depends on presence of environment variable called
ASDF_DATA_DIR
while file asdf.fish (which importing is suggested by the asdf README.md) that does not exports it.Expected result
Pipenv finds successfully specific python version from
asdf
.Actual result
Pipenv don't find python installation although
asdf
is present in system.Steps to replicate
Install & run fish.
Install
asdf
.Follow instructions from asdf README.md
Create a basic
Pipfile
:Run pipenv:
$ pipenv --support
Pipenv version:
'2018.11.14'
Pipenv location:
'/home/arkadiusz/.local/lib/python3.7/site-packages/pipenv'
Python location:
'/home/arkadiusz/.pyenv/versions/3.7.0/bin/python'
Python installations found:
3.6.6
:/usr/bin/python3.6
3.6.6
:/usr/bin/python3.6m
3.5.3
:/usr/bin/python3.5m
3.5.3
:/usr/bin/python3.5
2.7.15rc1
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL
CHROME_DESKTOP
CLUTTER_IM_MODULE
DBUS_SESSION_BUS_ADDRESS
DEFAULTS_PATH
DESKTOP_SESSION
DESKTOP_STARTUP_ID
DISPLAY
GDMSESSION
GIO_LAUNCHED_DESKTOP_FILE
GIO_LAUNCHED_DESKTOP_FILE_PID
GJS_DEBUG_OUTPUT
GJS_DEBUG_TOPICS
GNOME_DESKTOP_SESSION_ID
GNOME_SHELL_SESSION_MODE
GPG_AGENT_INFO
GTK2_MODULES
GTK_IM_MODULE
GTK_MODULES
HOME
IM_CONFIG_PHASE
LANG
LANGUAGE
LC_ADDRESS
LC_IDENTIFICATION
LC_MEASUREMENT
LC_MONETARY
LC_NAME
LC_NUMERIC
LC_PAPER
LC_TELEPHONE
LC_TIME
LOGNAME
LS_COLORS
MANDATORY_PATH
OMF_CONFIG
OMF_PATH
PATH
PIPENV_SHELL_FANCY
PWD
QT4_IM_MODULE
QT_ACCESSIBILITY
QT_IM_MODULE
SESSION_MANAGER
SHELL
SHLVL
SSH_AGENT_PID
SSH_AUTH_SOCK
S_COLORS
TERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
TEXTDOMAIN
TEXTDOMAINDIR
USER
USERNAME
WINDOWPATH
XAUTHORITY
XDG_CONFIG_DIRS
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_MENU_PREFIX
XDG_RUNTIME_DIR
XDG_SEAT
XDG_SESSION_DESKTOP
XDG_SESSION_ID
XDG_SESSION_TYPE
XDG_VTNR
XMODIFIERS
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_SHELL_FANCY
:True
Debug–specific environment variables:
PATH
:/home/arkadiusz/.asdf/shims:/home/arkadiusz/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/arkadiusz/.local/bin:/home/arkadiusz/.local/bin:/home/arkadiusz/.local/bin
SHELL
:/usr/bin/fish
LANG
:en_US.UTF-8
PWD
:/home/arkadiusz/Projects/awsd_error
Contents of
Pipfile
('/home/arkadiusz/Projects/awsd_error/Pipfile'):The text was updated successfully, but these errors were encountered: