From ea9881bdd372a322c823afaca28047d13986971b Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Thu, 2 Jan 2020 22:23:24 -0600 Subject: [PATCH] Fix path pip in some Linux distributions --- source/ZAZPip.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/ZAZPip.py b/source/ZAZPip.py index babf8d7..ab99106 100644 --- a/source/ZAZPip.py +++ b/source/ZAZPip.py @@ -103,8 +103,6 @@ class Controllers(object): return def _cmd_pip(self, args): - # ~ cmd = '{} {}'.format(PIP, args) - # ~ if app.IS_WIN: cmd = '"{}" -m pip {}'.format(self.path_python, args) return cmd @@ -317,9 +315,9 @@ class ZAZPip(unohelper.Base, XJobExecutor): dialog.add_control(args) dialog.center(dialog.lbl_python, y=25) - cmd = PIP + ' -V' - if app.IS_WIN: - cmd = '"{}" -m pip -V'.format(path_python) + # ~ cmd = PIP + ' -V' + # ~ if app.IS_WIN: + cmd = '"{}" -m pip -V'.format(path_python) label = app.run(cmd, True) exists_pip = True if not label: