File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
.azure-pipelines/templates Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ steps :
2+ # https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/anaconda?view=azure-devops&tabs=macos
3+ # Add conda to bash
4+ - bash : echo "##vso[task.prependpath]$CONDA/bin"
5+ displayName : Add conda to PATH
6+
7+ # On Hosted macOS, the agent user doesn't have ownership of Miniconda's installation directory/
8+ # We need to take ownership if we want to update conda or install packages globally
9+ - bash : sudo chown -R $USER $CONDA
10+ displayName : Take ownership of conda installation
Original file line number Diff line number Diff line change 22- script : |
33 conda env create -f environment.yml
44 source activate bayesian-modelling-tutorial
5- conda install -y python=$( python.version)
5+ conda install -y python=${{ python.version }}
66 python -m ipykernel install --user --name bayesian-modelling-tutorial
77 displayName : ' Create environment, install correct Python, and activate kernel.'
You can’t perform that action at this time.
0 commit comments