--- a/src/eric7/PipInterface/Pip.py Mon Jul 25 16:58:55 2022 +0200 +++ b/src/eric7/PipInterface/Pip.py Fri Sep 02 14:07:46 2022 +0200 @@ -636,11 +636,15 @@ proc = QProcess() proc.start(interpreter, args) if proc.waitForStarted(15000) and proc.waitForFinished(30000): - output = str( - proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - "replace", - ).strip().splitlines()[0] + output = ( + str( + proc.readAllStandardOutput(), + Preferences.getSystem("IOEncoding"), + "replace", + ) + .strip() + .splitlines()[0] + ) try: jsonList = json.loads(output) except Exception: @@ -703,11 +707,15 @@ proc = QProcess() proc.start(interpreter, args) if proc.waitForStarted(15000) and proc.waitForFinished(30000): - output = str( - proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - "replace", - ).strip().splitlines()[0] + output = ( + str( + proc.readAllStandardOutput(), + Preferences.getSystem("IOEncoding"), + "replace", + ) + .strip() + .splitlines()[0] + ) try: jsonList = json.loads(output) except Exception: