Skip to content

additional guide and steps to make installing conda more accessible for beginner #66

@yuenchingshen

Description

@yuenchingshen

set up>install conda

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions