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
50fb95c8b1
commit
862968ed20
2 changed files with 14 additions and 5 deletions
|
@ -31,7 +31,7 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
|
||||||
|
|
||||||
```
|
```
|
||||||
# Install aider
|
# Install aider
|
||||||
python -m pip install -U aider-chat
|
python -m pip install -U --ignore-installed aider-chat
|
||||||
|
|
||||||
# To work with GPT-4o:
|
# To work with GPT-4o:
|
||||||
$ aider --4o --openai-api-key sk-xxx...
|
$ aider --4o --openai-api-key sk-xxx...
|
||||||
|
@ -44,7 +44,7 @@ $ aider --sonnet --anthropic-api-key sk-xxx...
|
||||||
|
|
||||||
```
|
```
|
||||||
# Install aider
|
# Install aider
|
||||||
python -m pip install -U aider-chat
|
python -m pip install -U --ignore-installed aider-chat
|
||||||
|
|
||||||
# To work with GPT-4o:
|
# To work with GPT-4o:
|
||||||
$ aider --4o --openai-api-key sk-xxx...
|
$ aider --4o --openai-api-key sk-xxx...
|
||||||
|
|
|
@ -24,11 +24,20 @@ with the correct set of dependencies.
|
||||||
|
|
||||||
Package managers often install aider with the wrong dependencies, leading
|
Package managers often install aider with the wrong dependencies, leading
|
||||||
to import errors and other problems.
|
to import errors and other problems.
|
||||||
|
|
||||||
The recommended way to
|
The recommended way to
|
||||||
install aider is with
|
install aider is with
|
||||||
[pip](/docs/install/install.html)
|
[pip](/docs/install/install.html).
|
||||||
or
|
Be sure to use the `--ignore-installed` switch so that the correct
|
||||||
[pipx](/docs/install/pipx.html).
|
versions of dependencies will be installed.
|
||||||
|
|
||||||
|
```
|
||||||
|
python -m pip install -U --ignore-installed aider-chat
|
||||||
|
```
|
||||||
|
|
||||||
|
A very safe way is to
|
||||||
|
[install aider using pipx](/docs/install/pipx.html),
|
||||||
|
which will ensure it is installed in a stand alone virtual environment.
|
||||||
|
|
||||||
## Dependency versions matter
|
## Dependency versions matter
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue