diff -r a55bc571e023 -r 0a62a4bf749c src/eric7/PipInterface/Pip.py --- a/src/eric7/PipInterface/Pip.py Tue Aug 29 09:55:24 2023 +0200 +++ b/src/eric7/PipInterface/Pip.py Tue Aug 29 16:50:17 2023 +0200 @@ -654,14 +654,11 @@ proc = QProcess() proc.start(interpreter, args) if proc.waitForStarted(15000) and proc.waitForFinished(30000): - output = ( - str( - proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - "replace", - ) - .strip() - ) + output = str( + proc.readAllStandardOutput(), + Preferences.getSystem("IOEncoding"), + "replace", + ).strip() if output: output = output.splitlines()[0] try: @@ -736,14 +733,11 @@ proc = QProcess() proc.start(interpreter, args) if proc.waitForStarted(15000) and proc.waitForFinished(30000): - output = ( - str( - proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - "replace", - ) - .strip() - ) + output = str( + proc.readAllStandardOutput(), + Preferences.getSystem("IOEncoding"), + "replace", + ).strip() if output: output = output.splitlines()[0] try: