zsh: command not found: conda

284 views
Skip to first unread message

Pastore, Giovanni

unread,
May 21, 2020, 12:13:08 PM5/21/20
to moose-users
Hi all,

I have just started the process of installing MOOSE and BISON from UTK.  Following the instructions at https://mooseframework.inl.gov/getting_started/installation/conda.html, I got to the conda activate moose step, and get this error:

zsh: command not found: conda


Would you please have any suggestions?  I tried modifying the bashrc file without success.  I am working with macOS Catalina.

Thanks!
giovanni

Jason Miller

unread,
May 21, 2020, 12:29:41 PM5/21/20
to moose-users
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CY4PR02MB2535000AD033CDD2D25223C0C3B70%40CY4PR02MB2535.namprd02.prod.outlook.com.

Jason Miller

unread,
May 21, 2020, 12:41:08 PM5/21/20
to moose-users
I am in the process of creating a troubleshooting guide for issues just like this... sorry we don't have any available as of yet. While the instructions are not yet complete, my commits to make these changes for issues like this are in the works.

The issue you are receiving is due to Conda not being in your path. If you followed the directions -to the letter-, your installation of Miniconda should reside at: ~/miniconda3

In other words, try the following:

  export PATH=~/miniconda3/bin:$PATH
  conda init zsh

Close your terminals, re-open them, and see if you can continue from there. Let us know how it goes!
Jason




Pastore, Giovanni

unread,
May 21, 2020, 1:30:21 PM5/21/20
to moose-users
That worked.  Thank you very much, Jason.

Giovanni

From: moose...@googlegroups.com <moose...@googlegroups.com> on behalf of Jason Miller <m.jason...@gmail.com>
Sent: Thursday, May 21, 2020 12:40 PM
To: moose-users <moose...@googlegroups.com>
Subject: Re: zsh: command not found: conda
 

[External Email]

Pastore, Giovanni

unread,
Jun 11, 2020, 6:34:09 PM6/11/20
to moose-users
Hi again,

It seems that the module command is not recognized.  I am probably missing something simple again - would you please have any suggestions?

(base) gpastore@NE-MacBook-Pro ~ % module list

zsh: command not found: module

(base) gpastore@NE-MacBook-Pro ~ % module load use.moose PETSc

zsh: command not found: module

(base) gpastore@NE-MacBook-Pro ~ % 


Thanks!
giovanni

From: Pastore, Giovanni <gpas...@utk.edu>
Sent: Thursday, May 21, 2020 1:30 PM

Daniel Schwen

unread,
Jun 11, 2020, 6:38:13 PM6/11/20
to moose-users
There is no module command when using conda. Use `conda activate moose` to load the moose conda environment.

Pastore, Giovanni

unread,
Jun 11, 2020, 7:10:34 PM6/11/20
to moose-users
Perfect. Thanks, Daniel. 

From: moose...@googlegroups.com <moose...@googlegroups.com> on behalf of Daniel Schwen <dan...@schwen.de>
Sent: Thursday, June 11, 2020 6:37 PM
Reply all
Reply to author
Forward
0 new messages