mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
copy
This commit is contained in:
parent
46e7672197
commit
def72a64e0
3 changed files with 8 additions and 21 deletions
|
@ -1,7 +1,9 @@
|
||||||
{: .tip }
|
{: .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"}
|
[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"}
|
||||||
is recommended.
|
is recommended.
|
||||||
Or, you could
|
|
||||||
[use pipx to install aider](/docs/install/pipx.html)
|
|
||||||
once for your whole system.
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ for more details,
|
||||||
or the
|
or the
|
||||||
[usage instructions](https://aider.chat/docs/usage.html) to start coding with aider.
|
[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">
|
<div class="video-container">
|
||||||
<video controls poster="/assets/install.jpg">
|
<video controls poster="/assets/install.jpg">
|
||||||
|
|
|
@ -18,19 +18,4 @@ pipx install aider-chat
|
||||||
{% include replit-pipx.md %}
|
{% include replit-pipx.md %}
|
||||||
|
|
||||||
|
|
||||||
## Avoids package conflicts
|
{% include conflicts.md %}
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue