mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
copy
This commit is contained in:
parent
2f8a5ce935
commit
46e7672197
2 changed files with 32 additions and 0 deletions
17
aider/website/_includes/conflicts.md
Normal file
17
aider/website/_includes/conflicts.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
## Avoid package conflicts
|
||||||
|
|
||||||
|
If you are using aider to work on a python project, sometimes your project will require
|
||||||
|
specific versions of python packages which conflict with the versions that aider
|
||||||
|
requires.
|
||||||
|
If this happens, the `python -m pip install` command may return errors like these:
|
||||||
|
|
||||||
|
```
|
||||||
|
aider-chat 0.23.0 requires somepackage==X.Y.Z, but you have somepackage U.W.V which is incompatible.
|
||||||
|
```
|
||||||
|
|
||||||
|
You can avoid this problem by installing aider using `pipx` or `uv`,
|
||||||
|
which will install it globally on your system
|
||||||
|
within its own python environment.
|
||||||
|
This way you can use aider to work on any python project,
|
||||||
|
even if that project has conflicting dependencies.
|
15
aider/website/docs/install/uv.md
Normal file
15
aider/website/docs/install/uv.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
parent: Installation
|
||||||
|
nav_order: 100
|
||||||
|
---
|
||||||
|
|
||||||
|
# Install with uv
|
||||||
|
|
||||||
|
|
||||||
|
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) then do:
|
||||||
|
|
||||||
|
```
|
||||||
|
uv install tool aider-chat
|
||||||
|
```
|
||||||
|
|
||||||
|
{% include conflicts.md %}
|
Loading…
Add table
Add a link
Reference in a new issue