lee88688 / aider-composer

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

How do I install and use it? #2

Open matbee-eth opened 1 week ago

th3w1zard1 commented 1 week ago

it is on the extension store.

https://marketplace.visualstudio.com/items?itemName=lee2py.aider-composer

you can also download the latest release and open it with vs code directly by drag+drop on main window.

DenisSergeevitch commented 1 week ago

It's weird, but it's keep complaining that my /opt/anaconda3/bin/python is 2024-11-14 01:50:22.914 [error] Python path does not include python executable, skip starting aider-chat service

However I installed all packages required

lee88688 commented 1 week ago

/opt/anaconda3/bin/python is the python command path? the setting python path want to the directory which include python command.

DenisSergeevitch commented 1 week ago

It's a path to the binary I have, so /opt/anaconda3/bin/python --version returns a version etc.

lee88688 commented 1 week ago

oh I know it, you should set to /opt/anaconda3/bin/

tuanlv14 commented 1 week ago

@lee88688 What I should do ? ...AppData\Local\Programs\Python\env311\Scripts\python.exe ...AppData\Local\Programs\Python\env311\Scripts ...AppData\Local\Programs\Python\env311 ...AppData\Local\Programs\Python

Actually I had tried all option but it still appear error: Python path does not include python executable, skip starting aider-chat service

lee88688 commented 1 week ago

@tuanlv14 what version of python are you installed? python from official website, anaconda, or some others? it seems like you use venv to install it?

lee88688 commented 1 week ago

@tuanlv14 I think you use python env to install the package. I install it using venv. and it is no other problems. have you installed aider-chat and flask package in venv environment?

tuanlv14 commented 1 week ago

@lee88688 :

DenisSergeevitch commented 1 week ago

oh I know it, you should set to /opt/anaconda3/bin/

That worked on Mac, thank you!

lee88688 commented 1 week ago

@lee88688 :

  • Yes. I user env
  • I confirm that this path: "...AppData\Local\Programs\Python\env311\Scripts" work well. Maybe other my computure had some security restriction.

@tuanlv14 you can test this by start aider with this python env. maybe it can give you some inspiration why. or you can also install venv folder in other place and have a try.

0kauri0 commented 1 day ago

I have installed aider-char and flask to venv as I run archlinux and got aider work from terminal. I`ve pointed python path to venv/bin and got this messages in vscode extention output: [info] Extension "aider-composer" is now active! [info] Starting aider-chat service... but extension icon does not appear on left panel and runtime status gives Uncaught Errors (1): Cannot read properties of undefined (reading 'uri')

lee88688 commented 13 hours ago

@0kauri0 is there any other information in the output?