Open jialanxin opened 13 hours ago
I got python and pyenv through homebrew. Try running which python3
, and use that directory instead of the homebrew one.
when I ran it, it turned out to be /Users/alex/.pyenv/shims/
and not /opt/homebrew/bin/
Perhaps it's something similar in your case, where the intended executable is elsewhere.
@callbacked may be the right. I detect the command named python
, so python3
is not work. because I don't have Mac, some errors will not be detected.
When I use Homebrew Python path: /opt/homebrew/bin. The extension cannot detect python executable. I think this is because the Python installed by Homebrew is named "python3" and doesn't have a "python" alias.