import sys import os print("Python version:", sys.version) print("Current directory:", os.getcwd()) try: import pandas as pd print("✅ Pandas imported successfully") except ImportError as e: print("❌ Pandas import failed:", e) try: import smolagents print("✅ SmoLagents imported successfully") except ImportError as e: print("❌ SmoLagents import failed:", e) try: import gradio as gr print("✅ Gradio imported successfully") except ImportError as e: print("❌ Gradio import failed:", e) # Check if CSV file exists csv_path = "C:/Users/Cosmo/Desktop/NTU Peak Singtel/outsystems_sample_logs_6months.csv" if os.path.exists(csv_path): print(f"✅ CSV file found at: {csv_path}") try: df = pd.read_csv(csv_path) print(f"✅ CSV loaded successfully. Shape: {df.shape}") print(f"Columns: {list(df.columns)}") except Exception as e: print(f"❌ Error loading CSV: {e}") else: print(f"❌ CSV file not found at: {csv_path}") print("Please check the file path and ensure the file exists.") print("\n🚀 Setup verification complete!")