We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f4cbe commit a98aab8Copy full SHA for a98aab8
1 file changed
src/main.py
@@ -7,6 +7,10 @@
7
# Add src to path for running as script
8
sys.path.insert(0, str(Path(__file__).parent))
9
10
+# Import torch BEFORE PyQt6 to avoid DLL conflict on Windows.
11
+# PyQt6's Qt DLLs interfere with PyTorch's c10.dll if loaded first.
12
+import torch # noqa: F401
13
+
14
from PyQt6.QtWidgets import QApplication, QDialog
15
from ui.main_window import MainWindow, main as original_main
16
from ui.start_screen import StartScreen
0 commit comments