pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.03k stars 307 forks source link

python version installed via hatch not working #1289

Open ryeleo opened 8 months ago

ryeleo commented 8 months ago

For some reason, today when I try to use hatch on my new (apple silicon) MacBook, I am seeing that python3.11 seems to 'just not work,' in some ways:

Output from using "VS Code Terminal:" (hangs indefinitely during 'checking dependencies')

❯ hatch env create default
Environment `default` already exists
❯ hatch shell
.   Checking dependencies

Output from using "Mac Terminal:"

❯ hatch shell
❯ hatch run tests
❯ $?
zsh: command not found: 247

Probably related, when I try to just use python3.11 as downloaded by hatch, I see zsh: killed python3.11 for some reason...? (This seems like an issue with my shell maybe?)

❯ python3.11
zsh: killed     python3.11
❯ which python3.11
/Users/rleonar7/Library/Application Support/hatch/pythons/3.11/python/bin/python3.11

Thanks!

ofek commented 8 months ago

Sorry about that. Could it be that Hatch is choosing the wrong architecture?