You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you encounter an error about "externally-managed-environment" during installation, this is because your system Python is protected from modifications. The installation script will handle this by creating a virtual environment, but if you encounter issues:
70
+
71
+
1. Check that the Python venv module is installed:
72
+
```bash
73
+
# On macOS with Homebrew
74
+
brew install python-venv
75
+
76
+
# On Ubuntu/Debian
77
+
sudo apt-get install python3-venv
39
78
```
40
79
41
-
4. Restart Cursor to enable the extension
80
+
2. If you still have issues, manually install the dependencies:
81
+
```bash
82
+
pip3 install --user requests python-dotenv
83
+
```
84
+
85
+
3. Edit the `.env` file to point to your system Python:
86
+
```
87
+
PYTHON_PATH=python3
88
+
```
42
89
43
90
## Usage
44
91
@@ -60,7 +107,7 @@ You can configure the extension by editing the `.env` file in the extension dire
60
107
```
61
108
# Ignition RAG Extension Configuration
62
109
RAG_API_URL=http://localhost:8001 # URL of your RAG API
63
-
PYTHON_PATH=python3# Path to Python interpreter
110
+
PYTHON_PATH=/path/to/python # Path to Python interpreter (usually automatic)
64
111
```
65
112
66
113
## Requirements
@@ -77,6 +124,7 @@ If the extension is not working as expected:
77
124
2. Check the Cursor console for error messages (Help > Toggle Developer Tools)
78
125
3. Verify that Python is installed and accessible
79
126
4. Make sure the extension is correctly installed in `~/.cursor/extensions/ignition-rag/`
127
+
5. Verify the virtual environment was created successfully at `~/.cursor/extensions/ignition-rag/venv/`
0 commit comments