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]

Add helpful message about conda env activation (#289)

Kilian Lieret47b3879bd3c3
diff --git a/run.py b/run.py
index 905ef5c9..acb5db2c 100644
--- a/run.py
+++ b/run.py
@@ -1,3 +1,10 @@
+try:
+ import rich
+except ModuleNotFoundError as e:
+ raise RuntimeError(
+ "You probably either forgot to install the dependencies "
+ "or forgot to activate your conda or virtual environment."
+ ) from e
import json
import logging
import os