-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
the website guideline said:
Miniconda is now installed, but we need to activate it to be able to use it.
source ~/.bashrc
an error occured for me
yc22@farm:~$ source ~/.bashrc
-bash: /home/yc22/.bashrc: No such file or directory
I reread the the prompts on the screen in case I was missing something, then I saw:
To activate conda's base environment in your current shell session
eval "$(/home/yc22/miniconda3/bin/conda shell.YOUR_SHELL_NAME hook)"
I did not know what my shell name is,
but after some googling I got it.
conda activate base
yc22@farm:~$ source ~/.bashrc
-bash: /home/yc22/.bashrc: No such file or directory
However, although it stated "conda activate base" I am still unable to see the word (base) in front of my prompt
It finally brought me to the base environment when I type in a different command.
yc22@farm:~$ source ~/miniconda3/bin/activate
(base) yc22@farm:~$
suggestion to website:
- includes command of how to determine current shell name, instead of just saying follow the prompts on the screen, so it is easier to follow for beginner
determine your shell name by
echo $SHELL
- add another command to activate miniconda, in case the first command did not work for some user
Miniconda is now installed, but we need to activate it to be able to use it. Use the second command if the first one doesn't work.
source ~/.bashrc
source ~/miniconda3/bin/activate
Metadata
Metadata
Assignees
Labels
No labels