Skip to content

Commit 750bb11

Browse files
author
Kevin Hallock
committed
Fix conda install instructions for 2019 workshop
1 parent 904abc4 commit 750bb11

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

doc/source/tutorials/wrf_workshop_2019.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,21 @@ Mac and Linux:
146146
147147
2. Follow the instructions.
148148

149-
3. At the end of the installation, it will ask if you want to add the
150-
miniconda3 path to your bash environment. If you are unsure what to do,
151-
you should say "yes". If you say "no", we're going to assume you know
152-
what you are doing.
153-
154-
If you said "yes", then once you restart your shell, the miniconda3 Python
155-
will be found instead of the system Python when you type the "python"
156-
command. If you want to undo this later, then you can edit
157-
either ~/.bash_profile or ~/.bashrc (depending on OS used) and
158-
comment out the line that looks similar to::
159-
160-
# added by Miniconda3 x.x.x installer
161-
export PATH="/path/to/miniconda3/bin:$PATH"
162-
149+
3. At the end of the installation, it will ask if you "wish the installer to
150+
initialize Miniconda3". If you are unsure what to do, you should say "yes".
151+
If you say "no", we're going to assume you know what you are doing.
152+
153+
If you said "yes", then once you restart your shell, the "base" conda environment
154+
will be activated by default and the miniconda3 Python will be found instead
155+
of the system Python when you type the "python" command. If you want to undo
156+
this later, then you can run the following "conda" command::
157+
158+
conda config --set auto_activate_base false
159+
160+
Note that this will not affect your ability to run "conda" commands, it will just
161+
prevent the miniconda3 Python from overriding any existing Python environments you
162+
may already have on your machine.
163+
163164
4. Restart your command terminal.
164165

165166
5. [Linux and Mac Users Only] Miniconda only works with bash. If bash is

0 commit comments

Comments
 (0)