Spaces:
Runtime error
Runtime error
Download debug_python.py from Agents-MCP-Hackathon/KarmaCheck: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/KarmaCheck/resolve/main/debug_python.py
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/KarmaCheck/debug_python.py
-
curl -L -o debug_python.py https://huggingface.co/spaces/Agents-MCP-Hackathon/KarmaCheck/resolve/main/debug_python.py
414 Bytes
| import sys | |
| import os | |
| print(f"Python executable: {sys.executable}", file=sys.stderr) | |
| print(f"Python version: {sys.version}", file=sys.stderr) | |
| print(f"Python path: {sys.path}", file=sys.stderr) | |
| print(f"Current working directory: {os.getcwd()}", file=sys.stderr) | |
| try: | |
| import requests | |
| print("SUCCESS: requests module found!", file=sys.stderr) | |
| except ImportError as e: | |
| print(f"ERROR: {e}", file=sys.stderr) |