Skip to content

Commit

Permalink
Use pip install as opposed to apt-get
Browse files Browse the repository at this point in the history
This avoids problems with newer spyder etc
  • Loading branch information
KrisThielemans committed Dec 1, 2018
1 parent 7d9b059 commit 81d8998
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/INSTALL_prerequisites_with_apt-get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ echo "Installing SWIG..."

$SUDO apt-get install -y --no-install-recommends swig

# TODO replace with pip install
echo "Installing python libraries etc"
$SUDO apt-get install -y --no-install-recommends python-scipy python-docopt python-numpy python-h5py python-matplotlib python-libxml2 python-psutil python-tk python-nose
# replaced with pip install
#echo "Installing python libraries etc"
#$SUDO apt-get install -y --no-install-recommends python-scipy python-docopt python-numpy python-h5py python-matplotlib python-libxml2 python-psutil python-tk python-nose

echo "installing glog"
$SUDO apt-get install -y libgoogle-glog-dev

echo "installing pip for jupyter"
$SUDO apt-get install -y python-pip python-qt4
qt=pyqt5
$SUDO apt-get install -y python-pip python-${qt} python-${qt}.qtsvg python-${qt}.qtwebkit
$SUDO python -m pip install --upgrade pip wheel setuptools
$SUDO python -m pip install --only-binary=numpy,scipy,matplotlib numpy scipy matplotlib

0 comments on commit 81d8998

Please sign in to comment.