Fix path pip in some Linux distributions
This commit is contained in:
parent
b0fa677be2
commit
ea9881bdd3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue