File size: 414 Bytes
ef1317f
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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)