Skip to content
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

bug: "which" parameter cannot find #1706

Open
1trapbox opened this issue Jan 9, 2024 · 0 comments
Open

bug: "which" parameter cannot find #1706

1trapbox opened this issue Jan 9, 2024 · 0 comments
Labels

Comments

@1trapbox
Copy link

1trapbox commented Jan 9, 2024

Describe the Bug

asdf "which" parameter cannot find python
but the "where" parameter succeeds in finding the

asdf where python 3.8.18

/home/trapshell/.asdf/installs/python/3.8.18

asdf list

golang
 *1.21.5
java
 *oracle-graalvm-21.0.1
nodejs
 *21.5.0
pipx
 *1.4.1
python
 *3.12.1
  3.8.18

Steps to Reproduce

asdf which python3.8


No preset version installed for command python3.8
Please install a version by running one of the following:

asdf install python 3.12.1

or add one of the following versions in your config file at /home/user/.tool-versions
python 3.8.18

asdf which python 3.8.18

/home/user/.asdf/installs/python/3.12.1/bin/python

I don't know why the output path is python3.12.1

Expected Behaviour

should successfully find python 3.8.18

Actual Behaviour

see Steps to Reproduce

Environment

asdf info

OS:
Linux ROG 6.1.21.2-microsoft-standard-WSL2+ #1 SMP Fri Jan  5 23:07:06 CST 2024 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
zsh 5.9 (x86_64-ubuntu-linux-gnu)

BASH VERSION:
5.2.21(1)-release

ASDF VERSION:
v0.13.1-fad23bc

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/user/.asdf
ASDF_DIR=/home/user/.local//zinit/plugins/asdf-vm---asdf
ASDF_CONFIG_FILE=/home/user/.asdfrc

ASDF INSTALLED PLUGINS:
golang                       https://github.com/asdf-community/asdf-golang.git master 33b1f6d
java                         https://github.com/halcyon/asdf-java.git master ea5b378
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master c5b7c40
pipx                         https://github.com/yozachar/asdf-pipx.git main 81cb547
python                       https://github.com/danhper/asdf-python.git master 5e277e2


### asdf plugins affected (if relevant)

_No response_
@1trapbox 1trapbox added the bug label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant