Skip to content

Commit 0e007e9

Browse files
committed
fix: Use e2b base SDK instead of e2b-code-interpreter
1 parent 44e3773 commit 0e007e9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/examples/app-preview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The orchestrator script on your machine creates the sandbox, deploys the app, an
2222
- Python 3.10+
2323

2424
```bash
25-
pip install e2b-code-interpreter
25+
pip install e2b
2626
```
2727

2828
Set both keys in your environment:
@@ -39,7 +39,7 @@ KERNEL_API_KEY=kernel_***
3939
Start an E2B sandbox using the `kernel-browser` template, which comes with the Kernel SDK and Playwright client pre-installed. No local browser binary is needed — Kernel provides the browser remotely.
4040

4141
```python
42-
from e2b_code_interpreter import Sandbox
42+
from e2b import Sandbox
4343

4444
sandbox = Sandbox.create(
4545
"kernel-browser",
@@ -125,7 +125,7 @@ import os
125125
import time
126126
import json
127127

128-
from e2b_code_interpreter import Sandbox
128+
from e2b import Sandbox
129129

130130
# A sample FastAPI app to deploy inside the sandbox
131131
FASTAPI_APP = '''

0 commit comments

Comments
 (0)