Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Dec 11, 2024
1 parent 46e7672 commit def72a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
10 changes: 6 additions & 4 deletions aider/website/_includes/venv-pipx.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{: .tip }
Using a Python
The best way to install aider is with
[pipx](/docs/install/pipx.html)
or
[uv](/docs/install/uv.html)
once for your whole system.
Or, using a python
[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"}
is recommended.
Or, you could
[use pipx to install aider](/docs/install/pipx.html)
once for your whole system.
2 changes: 1 addition & 1 deletion aider/website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for more details,
or the
[usage instructions](https://aider.chat/docs/usage.html) to start coding with aider.

{% include python-m-aider.md %}
{% include venv-pipx.md %}

<div class="video-container">
<video controls poster="/assets/install.jpg">
Expand Down
17 changes: 1 addition & 16 deletions aider/website/docs/install/pipx.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,4 @@ pipx install aider-chat
{% include replit-pipx.md %}


## Avoids 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`,
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.

{% include conflicts.md %}

0 comments on commit def72a6

Please sign in to comment.