Skip to content

Commit 13fc37e

Browse files
committed
Updated README with env variables for running python tool
1 parent 406b63c commit 13fc37e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ The framework will check for API keys in the following order:
9898
2. Environment variables
9999
3. Command-line arguments
100100

101+
#### Python Tool Setup
102+
In order to use the Python Code Execution Tool, ensure your Python environment is correctly configured so that the SDK can locate your Python runtime and libraries.
103+
```bash
104+
export PYTHONHOME=$(python3 -c "import sys; print(sys.prefix)")
105+
export PYTHONPATH=$(python3 -c "import sysconfig; print(sysconfig.get_path('stdlib'))")
106+
```
107+
101108
### Usage
102109

103110
Here's a simple example of creating and running an autonomous agent:

0 commit comments

Comments
 (0)