From f217eaad0561867062d74aa675113df102aedb36 Mon Sep 17 00:00:00 2001 From: boltgolt Date: Tue, 20 Feb 2018 23:29:19 +0100 Subject: [PATCH] Fix unmet dependency pip --- installer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer.py b/installer.py index a9a889b..e350129 100644 --- a/installer.py +++ b/installer.py @@ -36,7 +36,10 @@ time.sleep(.5) log("Installing required apt packages") # Install packages though apt -handleStatus(subprocess.call(["apt", "install", "-y", "git", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"])) +handleStatus(subprocess.call(["apt", "install", "-y", "git", "python-pip", "python-dev", "build-essential", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"])) + +# Update pip +handleStatus(subprocess.call(["pip install --upgrade pip"], shell=True)) log("Starting camera check")