SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Docs: Advice to update pip if unsuccessful (#399)
Kilian Lieret7cfce03940dd
diff --git a/docs/installation/source.md b/docs/installation/source.mdindex a00be08c..3135a671 100644--- a/docs/installation/source.md+++ b/docs/installation/source.md@@ -7,9 +7,9 @@ Installation from source is the preferred way to set up SWE-agent on your machinIn the meantime, use Docker (see below).1. [Install Docker](https://docs.docker.com/engine/install/), then start Docker locally.-2. For the web interface only: Install [`nodejs`][nodejs-install].-3. Clone this repository.-4. Run `pip install --editable .` at the repository root (as with any python setup, it's recommended to use [conda][] or [virtual environments][] to manage dependencies).+2. If you plan on using the web-based GUI: Install [`nodejs`][nodejs-install].+3. Clone the repository (`git clone https://github.com/princeton-nlp/SWE-agent.git`)+4. Run `pip install --editable .` at the repository root (as with any python setup, it's recommended to use [conda][] or [virtual environments][] to manage dependencies). Error about editable install? Please update pip[^1].5. Run `./setup.sh` to create the `swe-agent` docker image.6. Create a `keys.cfg` file at the root of this repository ([more information](keys.md)).@@ -19,4 +19,6 @@ Installation from source is the preferred way to set up SWE-agent on your machinIf you run into docker issues, see the [installation tips section](tips.md) for more help[conda]: https://docs.conda.io/en/latest/-[virtual environments]: https://realpython.com/python-virtual-environments-a-primer/\ No newline at end of file+[virtual environments]: https://realpython.com/python-virtual-environments-a-primer/++[^1]: You can update `pip` with `pip install --upgrade pip`.\ No newline at end of filediff --git a/mkdocs.yml b/mkdocs.ymlindex 10b423d1..89ec87c6 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -5,7 +5,6 @@ theme:repo: fontawesome/brands/githublogo: assets/swe-agent.svgpalette:-- media: "(prefers-color-scheme)"toggle:icon: material/brightness-auto@@ -16,7 +15,6 @@ theme:media: "(prefers-color-scheme: light)"toggle:icon: material/weather-night-name: Switch to dark mode- scheme: slateprimary: black@@ -30,12 +28,13 @@ theme:- content.action.edit- navigation.footer- content.code.copy-+ - content.footnote.tooltipsmarkdown_extensions:- admonition- pymdownx.details- pymdownx.superfences- pymdownx.magiclink+ - footnotesnav:- Home: index.md- Installation:@@ -60,11 +59,9 @@ nav:- "Command definitions": "dev/commands.md"- "Demonstrations": "dev/demonstrations.md"- "Contribution guide": "dev/contribute.md"-plugins:- glightbox- search-repo_url: https://github.com/princeton-nlp/SWE-agentrepo_name: princeton-nlp/SWE-agentedit_uri: edit/main/docs/\ No newline at end of file