←back to thread

432 points tosh | 1 comments | | HN request time: 0.207s | source
Show context
wanderingmind ◴[] No.39996320[source]
Aider has a big problem when working with python codebase.

1. Its dependencies will conflict with your code requirements.

2. If you don't install it within the code environment, you can use `aider run` where you can run local commands and pipe their outputs.

3. You will need to use all it's dependencies even in prod environment that can increase the attack surface.

So until they introduce a global binary install, I suggest using Plandex which is based on Go and can work across any environment within the system

replies(2): >>39996333 #>>39996656 #
anotherpaulg ◴[] No.39996333[source]
Thanks for trying aider, and sorry to hear you had dependency conflicts.

You can install aider with pipx to avoid this. There's a FAQ entry that explains how:

https://aider.chat/docs/faq.html#how-to-use-pipx-to-avoid-py...

Also, why would you want to install aider in a production environment? It's a development tool, I wouldn't expect anyone to use it in prod. But maybe there's a use case I'm not thinking of?

replies(2): >>39996358 #>>39996749 #
1. stavros ◴[] No.39996749[source]
This is the correct solution, use pipx to install any Python cli and save yourself a ton of hassle.