mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Merge pull request #7 from zac-hopkinson/master
Fixes installer issues #5 and #6
This commit is contained in:
11
install.sh
11
install.sh
@@ -1,9 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if [ "${HTTPS_PROXY}" == "" ]; then
|
||||
HTTPS_PROXY="${https_proxy}"
|
||||
fi
|
||||
|
||||
prompt () {
|
||||
# prints a yes / no question to the user and returns the answer
|
||||
# first argument is the prompt question
|
||||
@@ -48,6 +44,7 @@ INSTALL_COACH=0
|
||||
INSTALL_DASHBOARD=0
|
||||
INSTALL_GYM=0
|
||||
INSTALL_VIRTUAL_ENVIRONMENT=1
|
||||
INSTALL_NEON=0
|
||||
|
||||
# Get user preferences
|
||||
TEMP=`getopt -o cpgvrmeNndh \
|
||||
@@ -142,13 +139,13 @@ sudo -E apt-get install libboost-all-dev -y
|
||||
# Coach
|
||||
if [ ${INSTALL_COACH} -eq 1 ]; then
|
||||
echo "Installing Coach requirements"
|
||||
pip install -r ./requirements_coach.txt --proxy ${HTTPS_PROXY}
|
||||
pip install -r ./requirements_coach.txt
|
||||
fi
|
||||
|
||||
# Dashboard
|
||||
if [ ${INSTALL_DASHBOARD} -eq 1 ]; then
|
||||
echo "Installing Dashboard requirements"
|
||||
pip install -r ./requirements_dashboard.txt --proxy ${HTTPS_PROXY}
|
||||
pip install -r ./requirements_dashboard.txt
|
||||
sudo -E apt-get install dpkg-dev build-essential python3.5-dev libjpeg-dev libtiff-dev libsdl1.2-dev libnotify-dev \
|
||||
freeglut3 freeglut3-dev libsm-dev libgtk2.0-dev libgtk-3-dev libwebkitgtk-dev libgtk-3-dev libwebkitgtk-3.0-dev libgstreamer-plugins-base1.0-dev -y
|
||||
|
||||
@@ -202,5 +199,3 @@ fi
|
||||
|
||||
# Intel Optimized TensorFlow
|
||||
pip3 install https://anaconda.org/intel/tensorflow/1.3.0/download/tensorflow-1.3.0-cp35-cp35m-linux_x86_64.whl
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user