diff -r 7244c30032d8 -r e8dd241cbfef eric7/PipInterface/Pip.py --- a/eric7/PipInterface/Pip.py Tue Sep 28 18:01:51 2021 +0200 +++ b/eric7/PipInterface/Pip.py Tue Sep 28 18:03:00 2021 +0200 @@ -298,7 +298,8 @@ pyqtPackages = [ p for p in packages if p.lower() in [ "pyqt6", "pyqt6-sip", "pyqt6-webengine", "pyqt6-charts", - "pyqt6-qscintilla", + "pyqt6-qscintilla", "pyqt6-qt6", "pyqt6-webengine-qt6", + "pyqt6-charts-qt6" ] ] @@ -331,10 +332,13 @@ @return flag indicating a successful execution @rtype bool """ - if self.__checkUpgradePyQt(packages): + if not venvName: return False - if not venvName: + if ( + self.getVirtualenvInterpreter(venvName) == sys.executable and + self.__checkUpgradePyQt(packages) + ): return False interpreter = self.getVirtualenvInterpreter(venvName)