Added setuptools for python3

This commit is contained in:
boltgolt 2018-02-21 00:06:19 +01:00 committed by GitHub
parent 8b27d08940
commit 799809fd36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ time.sleep(.5)
log("Installing required apt packages")
# Install packages though apt
handleStatus(subprocess.call(["apt", "install", "-y", "git", "python-pip", "python-dev", "python-setuptools", "build-essential", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"]))
handleStatus(subprocess.call(["apt", "install", "-y", "git", "python-pip", "python-dev", "python-setuptools", "python3-setuptools", "build-essential", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"]))
# Update pip
handleStatus(subprocess.call(["pip install --upgrade pip"], shell=True))