--- a/src/eric7/PipInterface/Pip.py Wed Dec 06 14:31:23 2023 +0100 +++ b/src/eric7/PipInterface/Pip.py Wed Dec 06 15:45:39 2023 +0100 @@ -21,7 +21,7 @@ from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired from eric7.EricWidgets import EricMessageBox from eric7.EricWidgets.EricApplication import ericApp -from eric7.SystemUtilities import OSUtilities, PythonUtilities +from eric7.SystemUtilities import FileSystemUtilities, OSUtilities, PythonUtilities from eric7.UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog try: @@ -371,7 +371,7 @@ if not interpreter: return False - if interpreter in (sys.executable, PythonUtilities.getPythonExecutable()): + if FileSystemUtilities.samefilepath(interpreter, sys.executable): upgradePyQt = self.__checkUpgradePyQt(packages) upgradeEric = self.__checkUpgradeEric(packages) if upgradeEric or upgradePyQt: