Thu, 24 Mar 2022 19:27:29 +0100
Fixed a Windows specific issue causing the dependency tree to fail.
eric7/PipInterface/Pip.py | file | annotate | diff | comparison | revisions |
--- a/eric7/PipInterface/Pip.py Wed Mar 23 20:21:42 2022 +0100 +++ b/eric7/PipInterface/Pip.py Thu Mar 24 19:27:29 2022 +0100 @@ -961,12 +961,12 @@ args.append("--reverse") proc = QProcess() - proc.start(sys.executable, args) + proc.start(sys.executable.replace("w.exe", ".exe"), args) if proc.waitForStarted(15000) and proc.waitForFinished(30000): output = str(proc.readAllStandardOutput(), Preferences.getSystem("IOEncoding"), 'replace').strip() with contextlib.suppress(json.JSONDecodeError): dependencies = json.loads(output) - + return dependencies