This commit is contained in:
Paul Gauthier 2024-09-26 11:50:25 -07:00
parent 50fb95c8b1
commit 862968ed20
2 changed files with 14 additions and 5 deletions

View file

@ -31,7 +31,7 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
```
# Install aider
python -m pip install -U aider-chat
python -m pip install -U --ignore-installed aider-chat
# To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx...
@ -44,7 +44,7 @@ $ aider --sonnet --anthropic-api-key sk-xxx...
```
# Install aider
python -m pip install -U aider-chat
python -m pip install -U --ignore-installed aider-chat
# To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx...

View file

@ -24,11 +24,20 @@ with the correct set of dependencies.
Package managers often install aider with the wrong dependencies, leading
to import errors and other problems.
The recommended way to
install aider is with
[pip](/docs/install/install.html)
or
[pipx](/docs/install/pipx.html).
[pip](/docs/install/install.html).
Be sure to use the `--ignore-installed` switch so that the correct
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