eric7/PipInterface/Pip.py

branch
eric7
changeset 8998
4644064d4454
parent 8997
d8946c2a22b5
child 9002
31a7decd3393
--- 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

eric ide

mercurial