Fix call to pip
Use sys.executable and decode the output
This commit is contained in:
parent
0878a7a9a4
commit
095970b345
@ -195,7 +195,8 @@ def main(argv):
|
||||
exit(1)
|
||||
|
||||
freeze_output = subprocess.run(
|
||||
['pip', 'freeze', '--all'],
|
||||
[sys.executable, '-I', '-m', 'pip', 'freeze', '--all'],
|
||||
encoding='utf-8',
|
||||
stdout=subprocess.PIPE,
|
||||
check=True,
|
||||
).stdout
|
||||
|
Loading…
Reference in New Issue
Block a user