try: from e2b_code_interpreter import Sandbox print("Imported Sandbox") sb = Sandbox.create() print("Sandbox created successfully via .create()") sb.close() except Exception as e: print(f"Error with .create(): {e}") try: sb = Sandbox() print("Sandbox instantiated successfully via constructor") sb.close() except Exception as e2: print(f"Error with constructor: {e2}")