- Add early torch import before PyQt6 imports in main_window.py - This prevents the c10.dll initialization error on Windows - Solution 3 from user research: import torch before PyQt