You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
WGET=${WGET:-wget}
|
|
|
|
|
|
|
|
# The script automatically choose default settings of miniconda for installation
|
|
|
|
# Miniconda will be installed in the HOME directory. ($HOME/miniconda3).
|
|
|
|
# Also don't make miniconda's python as default.
|
|
|
|
|
|
|
|
if [ -d "$DOWNLOAD_DIR" ]; then
|
|
|
|
cp -p "$DOWNLOAD_DIR/Miniconda3-latest-Linux-x86_64.sh" . || exit 1
|
|
|
|
else
|
|
|
|
$WGET https://repo.anaconda.com/miniconda/Miniconda3-py37_4.10.3-Linux-x86_64.sh || exit 1
|
|
|
|
fi
|
|
|
|
bash Miniconda3-py37_4.10.3-Linux-x86_64.sh -b
|
|
|
|
|
|
|
|
$HOME/miniconda3/bin/python -m pip install --user tqdm
|
|
|
|
$HOME/miniconda3/bin/python -m pip install --user scikit-learn
|
|
|
|
$HOME/miniconda3/bin/python -m pip install --user librosa
|
|
|
|
$HOME/miniconda3/bin/python -m pip install --user h5py
|