lee88688 / aider-composer

aider's VSCode extension, seamlessly integrated into VSCode
https://marketplace.visualstudio.com/items?itemName=lee2py.aider-composer
Apache License 2.0
35 stars 5 forks source link

Incompatible with Homebrew Python #7

Open jialanxin opened 13 hours ago

jialanxin commented 13 hours ago

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.

callbacked commented 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.

lee88688 commented 11 hours ago

@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.