mise
mise copied to clipboard
Poetry install failed on WSL (Ubuntu 22.04)
Describe the bug
[DEBUG] ARGS: /home/username/.local/bin/mise use -g poetry@latest --verbose
[DEBUG] Config {
Config Files: [
"~/directory/.mise.toml",
"~/.config/mise/config.toml",
],
}
[DEBUG] Toolset: python@latest
installing
~/.local/share/mise/plugins/poetry/bin/install
[DEBUG] $ ~/.local/share/mise/plugins/poetry/bin/install
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/home/username/.local/share/mise/installs/poetry/1.8.2/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.8.2)
Installing Poetry (1.8.2): Creating environment
Installing Poetry (1.8.2): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/username/directory/poetry-installer-error-5ak_yz58.log for error logs.
Cleanup: Something went wrong!
47 /home/username/.local/share/mise/plugins/poetry/bin/install: POETRY_HOME=$install_path python3 - --version "$version" $flags
[ERROR] ~/.local/share/mise/plugins/poetry/bin/install failed
Error:
0: ~/.local/share/mise/plugins/poetry/bin/install exited with non-zero status: exit code 127
Location:
src/plugins/script_manager.rs:183
Version:
2024.4.5 linux-x64 (d60d850 2024-04-15)
Suggestion: Run with --verbose or MISE_VERBOSE=1 for more information.
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
To Reproduce
mise use -g poetry@latest --verbose
mise doctor
output
version: 2024.4.5 linux-x64 (d60d850 2024-04-15)
activated: yes
shims_on_path: no
build_info:
Target: x86_64-unknown-linux-gnu
Features: DEFAULT, NATIVE_TLS, OPENSSL
Built: Mon, 15 Apr 2024 23:15:20 +0000
Rust Version: rustc 1.77.2 (25ef9e3d8 2024-04-09)
Profile: release
shell:
/bin/bash
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
dirs:
data: ~/.local/share/mise
config: ~/.config/mise
cache: ~/.cache/mise
state: ~/.local/state/mise
shims: ~/.local/share/mise/shims
config_files:
~/.config/mise/config.toml
~/directory/.mise.toml
plugins:
bun (core)
deno (core)
go (core)
java (core)
node (core)
poetry https://github.com/mise-plugins/mise-poetry.git#95e67f5
python (core)
ruby (core)
toolset:
[email protected]
env_vars:
MISE_SHELL=bash
settings:
activate_aggressive = false
all_compile = false
always_keep_download = false
always_keep_install = false
asdf_compat = false
cargo_binstall = true
color = true
disable_default_shorthands = false
disable_tools = []
experimental = false
go_default_packages_file = "~/.default-go-packages"
go_download_mirror = "https://dl.google.com/go"
go_repo = "https://github.com/golang/go"
go_set_gopath = false
go_set_goroot = true
go_skip_checksum = false
jobs = 4
legacy_version_file = true
legacy_version_file_disable_tools = []
node_compile = false
not_found_auto_install = true
paranoid = false
plugin_autoupdate_last_check_duration = "7d"
python_compile = false
python_default_packages_file = "/home/username/.default-python-packages"
python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
raw = false
trusted_config_paths = []
quiet = false
verbose = false
yes = false
ci = false
debug = false
trace = false
log_level = "info"
python_venv_auto_create = false
[status]
missing_tools = "if_other_versions_installed"
show_env = false
show_tools = false
No warnings found
No problems found