Commit da264945 authored by Sebastian Wahl's avatar Sebastian Wahl

Merge branch 'bugfix-script-updated-packages' into 'master'

Bugfix script updated packages

See merge request !38
parents de97fe49 3e9e190d
...@@ -41,3 +41,4 @@ dependencies: ...@@ -41,3 +41,4 @@ dependencies:
- spyder - spyder
- xarray - xarray
- ipykernel - ipykernel
- nc-time-axis
...@@ -42,3 +42,4 @@ dependencies: ...@@ -42,3 +42,4 @@ dependencies:
- xarray - xarray
- ipykernel - ipykernel
- openblas=0.3.4 - openblas=0.3.4
- nc-time-axis
...@@ -69,9 +69,9 @@ function install_conda_environment() { ...@@ -69,9 +69,9 @@ function install_conda_environment() {
cd $HOME cd $HOME
test -d miniconda3 && mv -v miniconda3 miniconda_$(date +%Y%m%d_%H%M%S) test -d miniconda3 && mv -v miniconda3 miniconda_$(date +%Y%m%d_%H%M%S)
if [[ "`uname`" == "Darwin" ]] ; then if [[ "`uname`" == "Darwin" ]] ; then
curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3.sh curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o Miniconda3.sh
else else
curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3.sh curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3.sh
fi fi
bash Miniconda3.sh -b -p \${HOME}/miniconda3 bash Miniconda3.sh -b -p \${HOME}/miniconda3
rm -f Miniconda3.sh rm -f Miniconda3.sh
...@@ -81,6 +81,10 @@ function install_conda_environment() { ...@@ -81,6 +81,10 @@ function install_conda_environment() {
# OSX client or host machines do not like /dev/stdin as it is used below # OSX client or host machines do not like /dev/stdin as it is used below
# conda env create -f /dev/stdin; # conda env create -f /dev/stdin;
conda env create -f py3_std.yml conda env create -f py3_std.yml
# on ursus7 I had to execute the following lines to make py3_std available in jupyterlab
source ${HOME}/miniconda3/bin/activate py3_std;
python -m ipykernel install --user --name py3_std --display-name "py3_std"
} }
if [[ $# -lt 2 ]]; then if [[ $# -lt 2 ]]; then
...@@ -181,6 +185,9 @@ elif [[ "$task" == "install" ]]; then ...@@ -181,6 +185,9 @@ elif [[ "$task" == "install" ]]; then
echo ' source ${HOME}/miniconda3/bin/activate base' echo ' source ${HOME}/miniconda3/bin/activate base'
echo ' conda install jupyterlab nb_conda_kernels --yes' echo ' conda install jupyterlab nb_conda_kernels --yes'
echo " conda env create -f py3_std.yml " echo " conda env create -f py3_std.yml "
echo ' # on ursus7 I had to execute the following lines to make py3_std available in jupyterlab'
echo ' source ${HOME}/miniconda3/bin/activate py3_std;'
echo ' python -m ipykernel install --user --name py3_std --display-name "py3_std"'
echo echo
echo " to perform a manual installation." echo " to perform a manual installation."
echo echo
......
name: weatherdata
channels:
- defaults
- conda-forge
dependencies:
- python=3
- numpy
- pandas
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment