--- a/src/eric7/VirtualEnv/VirtualenvInterpreterSelectionDialog.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/VirtualEnv/VirtualenvInterpreterSelectionDialog.py Sun Dec 18 19:33:46 2022 +0100 @@ -14,8 +14,8 @@ from PyQt6.QtCore import pyqtSlot from PyQt6.QtWidgets import QDialog, QDialogButtonBox -from eric7 import Globals from eric7.EricWidgets.EricPathPicker import EricPathPickerModes +from eric7.SystemUtilities import OSUtilities from .Ui_VirtualenvInterpreterSelectionDialog import ( Ui_VirtualenvInterpreterSelectionDialog, @@ -52,7 +52,7 @@ if venvDirectory: # try to determine a Python interpreter name - if Globals.isWindowsPlatform(): + if OSUtilities.isWindowsPlatform(): candidates = glob.glob( os.path.join(venvDirectory, "Scripts", "python*.exe") ) + glob.glob(os.path.join(venvDirectory, "python*.exe"))