Skip to content
Snippets Groups Projects
Commit 93499e65 authored by Andres Luhamaa's avatar Andres Luhamaa
Browse files

conda fixes

parent ee9c362c
No related branches found
No related tags found
No related merge requests found
......@@ -293,9 +293,6 @@ Resources:
- '30'
- --nthreads
- '2'
- --nprocs
- '1'
- --reconnect
Cpu: !Ref DaskWorkerCPU
Essential: true
Image: !Ref DaskImage
......@@ -511,20 +508,18 @@ Resources:
sleep 10
echo "\$(date) Creating daskpy3 conda environment"
echo "\$(date) Running in directory ${PWD}"
conda create --name daskpy3 python="3.7.10" -y
conda create --name daskpy3 -y
source activate daskpy3
conda install -c conda micromamba -y
micromamba install -c conda basemap proj4 nodejs ipywidgets cartopy icclim -y
pip install botocore aiobotocore zarr rechunker ipykernel boto3 dask distributed tornado cloudpickle msgpack blosc numpy pandas lz4 netcdf4 xarray bokeh s3fs fsspec h5netcdf h5py intake-esm intake
conda install -c conda micromamba -y
micromamba install -c conda pip -y
micromamba install -c conda netcdf4 msgpack hdf5 -y
pip install botocore==1.34.51 aiobotocore==2.12.2 boto3==1.34.51 rechunker==0.5.2 ipykernel==6.29.4 dask==2024.4.1 distributed==2024.4.1 tornado==6.4 cloudpickle==3.0.0 msgpack==1.0.7 blosc==1.10.2 numpy pandas lz4==4.3.3 netcdf4==1.6.5 xarray==2023.10.1 bokeh==3.4.0 s3fs==2024.3.1 fsspec==2024.3.1 h5netcdf==1.3.0 h5py==3.10.0 intake-esm==2024.2.6 intake==0.7.0 cartopy==0.22.0 icclim==6.5.0 nodejs ipywidgets==8.1.2 jupyterlab_widgets==3.0.10 zarr==2.17.2 geopandas==0.14.4 shapely==2.0.4
python -m ipykernel install --user --name daskpy3 --display-name "conda_daskpy3"
echo "\$(date) Updating Jupyter config options"
cp ~/.jupyter/jupyter_notebook_config.py ~/.jupyter/jupyter_notebook_config.py.bak
sed -i 's/^#c.NotebookApp.iopub_data_rate_limit.*$/c.NotebookApp.iopub_data_rate_limit = 1.0e10/' ~/.jupyter/jupyter_notebook_config.py
sed -i 's/^#c.NotebookApp.iopub_msg_rate_limit.*$/c.NotebookApp.iopub_msg_rate_limit = 1.0e10/' ~/.jupyter/jupyter_notebook_config.py
source /home/ec2-user/anaconda3/bin/deactivate
source activate JupyterSystemEnv
jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1
source /home/ec2-user/anaconda3/bin/deactivate
echo "\$(date) Finished!"
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment