2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00
This commit is contained in:
Oliver Walters
2024-11-18 13:37:32 +00:00
parent 691e0a8188
commit 2fa832f1f3

View File

@ -126,7 +126,14 @@ def install_plugins_file():
logger.warning('Plugin file %s does not exist', str(pf))
return
cmd = ['install', '--disable-pip-version-check', '-U', '-r', str(pf)]
cmd = [
'install',
'--disable-pip-version-check',
'--no-cache-dir',
'-U',
'-r',
str(pf),
]
try:
pip_command(*cmd)
@ -232,7 +239,7 @@ def install_plugin(url=None, packagename=None, user=None, version=None):
logger.info('install_plugin: %s, %s', url, packagename)
# build up the command
install_name = ['install', '-U']
install_name = ['install', '-U', '--no-cache-dir', '--disable-pip-version-check']
full_pkg = ''