src/eric7/CondaInterface/Conda.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9584
620d2ac049da
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/CondaInterface/Conda.py
--- a/src/eric7/CondaInterface/Conda.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/CondaInterface/Conda.py	Sun Dec 18 19:33:46 2022 +0100
@@ -14,8 +14,9 @@
 from PyQt6.QtCore import QCoreApplication, QObject, QProcess, pyqtSignal
 from PyQt6.QtWidgets import QDialog
 
-from eric7 import Globals, Preferences
+from eric7 import Preferences
 from eric7.EricWidgets import EricMessageBox
+from eric7.SystemUtilities import OSUtilities
 
 from . import condaVersion, rootPrefix
 from .CondaExecDialog import CondaExecDialog
@@ -83,7 +84,7 @@
             for pathPrefix in pathPrefixes:
                 python = (
                     os.path.join(pathPrefix, "python.exe")
-                    if Globals.isWindowsPlatform()
+                    if OSUtilities.isWindowsPlatform()
                     else os.path.join(pathPrefix, "bin", "python")
                 )
                 if os.path.exists(python):

eric ide

mercurial