From 024b9840f0f80dc7a2310a1c88b3508446429fa6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 15 Dec 2024 09:34:51 -0800 Subject: [PATCH] copy --- aider/website/_includes/conflicts.md | 21 ------------------- aider/website/docs/troubleshooting/imports.md | 12 +++++++++++ 2 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 aider/website/_includes/conflicts.md diff --git a/aider/website/_includes/conflicts.md b/aider/website/_includes/conflicts.md deleted file mode 100644 index c5f0658f4..000000000 --- a/aider/website/_includes/conflicts.md +++ /dev/null @@ -1,21 +0,0 @@ - -## Avoid package conflicts - -You can avoid python package conflicts by installing aider using -[pipx](/docs/install/pipx.html) -or -[uv](/docs/install/uv.html). - -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 aider-chat` 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. -``` - -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. diff --git a/aider/website/docs/troubleshooting/imports.md b/aider/website/docs/troubleshooting/imports.md index 8fa05c7e4..c512b9725 100644 --- a/aider/website/docs/troubleshooting/imports.md +++ b/aider/website/docs/troubleshooting/imports.md @@ -13,6 +13,18 @@ or if aider is reporting `ImportErrors` it is likely that your aider install is using incorrect dependencies. + +## Avoid 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, you may see errors like these when running pip installs: + +``` +aider-chat 0.23.0 requires somepackage==X.Y.Z, but you have somepackage U.W.V which is incompatible. +``` + ## Install with aider-install, uv or pipx If you are having dependency problems you should consider