From 18a5867bcd246ea774152f22ca9a361b370c364e Mon Sep 17 00:00:00 2001 From: Antreas Antoniou Date: Mon, 24 Sep 2018 10:42:34 +0100 Subject: [PATCH] Make sure .bashrc is sourced in current terminal --- notes/environment-set-up.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/notes/environment-set-up.md b/notes/environment-set-up.md index e4a67a8..f766c82 100644 --- a/notes/environment-set-up.md +++ b/notes/environment-set-up.md @@ -46,8 +46,14 @@ Append at the end ``` source /group/teaching/conda/etc/profile.d/conda.sh ``` -This should be enough to enable conda and give you access to your packages. Please continue from the 'Creating the Conda environment section' if you have taken this path. +This should be enough to enable conda and give you access to your packages every time to open a terminal. Please continue from the 'Creating the Conda environment section' if you have taken this path. +Also, do not forget to run + +``` +source ~/.bashrc +``` +In your current terminal session to get conda (automatic sourcing of .bashrc happens only when a new terminal is opened). ## 3. Installing Miniconda From Scratch - Only do this step if you have chosen not to do step 2 @@ -427,7 +433,7 @@ conda create -n mlp python=3 Activate our created environment: ``` -source activate mlp +conda activate mlp ``` Install the dependencies for the course into the new environment: