Skip to content

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]

Doc: Always recommend to upgrade pip

Kilian Lieret778766960b0d
diff --git a/docs/installation/source.md b/docs/installation/source.md
index cf08bcc2..b66062fe 100644
--- a/docs/installation/source.md
+++ b/docs/installation/source.md
@@ -14,9 +14,9 @@ Installation from source is the preferred way to set up SWE-agent on your machin
```
4. Run
```
- pip install --editable .
+ pip install --upgrade pip && 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].
+ at the repository root (as with any python setup, it's recommended to use [conda][] or [virtual environments][] to manage dependencies).
5. Run
```bash
docker pull sweagent/swe-agent:latest
@@ -43,6 +43,4 @@ Alternatively, you can run `./setup.sh` to create your own `swe-agent` docker im
[conda]: https://docs.conda.io/en/latest/
[virtual environments]: https://realpython.com/python-virtual-environments-a-primer/
-[^1]: You can update `pip` with `pip install --upgrade pip`.
-
{% include-markdown "../_footer.md" %}