This commit is contained in:
Paul Gauthier 2024-09-08 17:07:25 -07:00
parent e40a07a8a1
commit cee348614e
6 changed files with 64 additions and 9 deletions

View file

@ -29,12 +29,5 @@ pipx install aider-chat
## pipx on replit
To use aider with pipx on replit, you can run these commands in the replit shell:
```
pip install pipx
pipx run aider-chat ...normal aider args...
```
If you install aider with pipx on replit and try and run it as just `aider` it will crash with a missing `libstdc++.so.6` library.
{% include replit-pipx.md %}

View file

@ -0,0 +1,31 @@
---
parent: Troubleshooting
nav_order: 28
---
# Import errors
Aider expects to be installed via `pip` or `pipx`, which will install
all of its required dependencies.
If aider reports `ImportErrors`, this probably means it has been installed
incorrectly.
## Dependency versions
Aider pins its dependencies and is tested to work with those specific versions.
You should be careful about upgrading or downgrading other python libraries that
aider uses.
If you need other versions of packages for your project,
consider
[installing aider using pipx](/docs/install/pipx.html).
## Replit
You can `pip install aider-chat` on replit, or you can install it via
pipx.
{% include replit-pipx.md %}