Commit 96e2baa0 authored by echel0n's avatar echel0n

Refactored requirements install cmd to include `--no-cache-dir` flag when...

Refactored requirements install cmd to include `--no-cache-dir` flag when ModuleNotFound exception is thrown
parent 09556122
......@@ -223,7 +223,7 @@ def main():
from sickrage.core import Core
except ModuleNotFoundError:
print('Attempting to install SiCKRAGE missing requirements using pip')
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", REQS_FILE])
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-cache-dir", "-r", REQS_FILE])
from sickrage.core import Core
# main app instance
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment