mirror of
https://github.com/koush/scrypted.git
synced 2026-09-20 10:40:39 +01:00
postbeta
This commit is contained in:
@@ -611,12 +611,13 @@ class PluginRemote:
|
||||
pipArgs = [
|
||||
sys.executable,
|
||||
'-m', 'pip', 'install', '-r', requirementstxt,
|
||||
# preevent uninstalling system packages
|
||||
'--ignore-installed',
|
||||
'--prefix', python_prefix
|
||||
]
|
||||
if pythonVersion:
|
||||
print('Specific Python verison requested. Forcing reinstall.')
|
||||
# prevent uninstalling system packages.
|
||||
pipArgs.append('--ignore-installed')
|
||||
# force reinstall even if it exists in system packages.
|
||||
pipArgs.append('--force-reinstall')
|
||||
|
||||
p = subprocess.Popen(pipArgs, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
|
||||
Reference in New Issue
Block a user