Closed eproxus closed 1 month ago
Might be the same as https://github.com/jdx/mise/issues/2458. Does mise upgrade
work?
I think I saw the same issue as this, which does seem related indeed to #2458. To reproduce:
$ cd ~
$ curl https://mise.run | sh
$ echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
$ . .bashrc
$ mise --version
2024.8.15 linux-x64 (14bab0e 2024-08-28)
$ mise settings set experimental true
$ mise settings set pipx_uvx true
$ mise use -g uv
$ mise use -g pipx:black # this works
$ nvim ~/.config/mise/config.toml # edit by including for example "pipx:poetry" = "latest" in tools
$ cat ~/.config/mise/config.toml
[tools]
uv = "latest"
"pipx:black" = "latest"
"pipx:poetry" = "latest"
neovim = "latest"
[settings]
experimental = true
pipx_uvx = true
$ mise i
mise failed to execute command: uv tool install poetry==1.8.3
mise No such file or directory (os error 2)
mise Run with --verbose or MISE_VERBOSE=1 for more information
$ mise upgrade
Resolved 38 packages in 1.13s
Prepared 36 packages in 1.30s
Installed 38 packages in 22ms
+ build==1.2.1
+ cachecontrol==0.14.0
+ certifi==2024.7.4
+ cffi==1.17.0
+ charset-normalizer==3.3.2
+ cleo==2.1.0
+ crashtest==0.4.1
+ cryptography==43.0.0
+ distlib==0.3.8
+ dulwich==0.21.7
+ fastjsonschema==2.20.0
+ filelock==3.15.4
+ idna==3.8
+ installer==0.7.0
+ jaraco-classes==3.4.0
+ jeepney==0.8.0
+ keyring==24.3.1
+ more-itertools==10.4.0
+ msgpack==1.0.8
+ packaging==24.1
+ pexpect==4.9.0
+ pkginfo==1.11.1
+ platformdirs==4.2.2
+ poetry==1.8.3
+ poetry-core==1.9.0
+ poetry-plugin-export==1.8.0
+ ptyprocess==0.7.0
+ pycparser==2.22
+ pyproject-hooks==1.1.0
+ rapidfuzz==3.9.6
+ requests==2.32.3
+ requests-toolbelt==1.0.0
+ secretstorage==3.3.3
+ shellingham==1.5.4
+ tomlkit==0.13.2
+ trove-classifiers==2024.7.2
+ urllib3==2.2.2
+ virtualenv==20.26.3
Installed 1 executable: poetry
mise pipx:poetry@1.8.3 ✓ installed
Describe the bug When following the instructions to get the
pipx
backend working, anNo such file or directory (os error 2)
error is issued when trying to install something.To Reproduce
This is also true for normal PyPi packages.
Expected behavior Packages install correctly.
mise doctor
outputAdditional context I had it working before. Then I started over from scratch using
mise uninstall python --all
and following the instructions above.