]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
spns #33658 - remove tkinter on Windows cbr/new_mg_license_215
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 Mar 2023 15:30:38 +0000 (16:30 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 Mar 2023 15:30:38 +0000 (16:30 +0100)
test/SMESH_ParallelCompute.py

index fccec13004cd413103483135123ac6fd80086c21..4f748c25fd0a526f1b702015df4341ff133b09f3 100644 (file)
@@ -1,9 +1,11 @@
 # contains function to compute a mesh in parallel
+import platform
 from platform import java_ver
 import sys
-from tkinter import W
 import salome
-
+# tkinter not built on Windows - Python 3.6.5
+if platform.system() != 'Windows':
+    from tkinter import W
 import time