swh:1:snp:7438b129d9cacb54440879827822fdf5f107e828
Raw File
Tip revision: 2844d1b4ede8dddc68a1edacaf2dde9f486de880 authored by Gianmarco Bernasconi on 08 April 2019, 15:25:48 UTC
Minor
Tip revision: 2844d1b
dependencies_common.sh
#!/bin/bash
set -e

if [[ `id -u` -eq 0 ]] ; then
    echo "Do not run this with sudo (do not run random things with sudo!)." ;
    exit 1 ;
fi

set -x


sudo apt install -y \
	python-frozendict \
	libxslt-dev \
	libxml2-dev \
	python-lxml \
	python-bs4 \
	python-tables \
    python-sklearn \
    apt-file \
    iftop \
    atop \
    ntpdate \
    python-termcolor \
    python-sklearn \
    libatlas-base-dev \
    python-dev \
    ipython \
    python-smbus \
    libturbojpeg \
    python-cffi \
    python-skimage

sudo apt remove -y \
	python-ruamel.yaml \
	python-ruamel.ordereddict

# These don't have an APT package

pip install --user --upgrade -r requirements.txt
pip install --user jpeg4py

# None of this should be needed. Next time you think you need it, let me know and we figure it out. -AC
# sudo pip install --upgrade pip setuptools wheel
back to top