Problem with installing Cantera on macOS 10.13.2

338 views
Skip to first unread message

Hertz

unread,
Jan 18, 2018, 7:29:25 AM1/18/18
to Cantera Users' Group
Hi,

.I had some problem with cantera and decided to reinstall it as well as python
.(.I have followed again after the instruction on Cantera site (install homebrew then python scons etc.

 I am encountering error messages about python and cantera:

Hertzels-MacBook-Pro:~ hertz$ pip install numpy

-bash: pip: command not found


and then:


Hertzels-MacBook-Pro:~ hertz$ brew install cantera --HEAD --with-matlab=/Applications/MATLAB_R2017b.app/

Error: No available formula with the name "cantera" 

==> Searching for a previously deleted formula (in the last month)...

Warning: homebrew/core is shallow clone. To get complete history run:

  git -C "$(brew --repo homebrew/core)" fetch --unshallow


Error: No previously deleted formula found.

==> Searching for similarly named formulae...

==> Searching local taps...

Error: No similarly named formulae found.

==> Searching taps...

==> Searching taps on GitHub...

Error: No formulae found in taps.


Then following cantera installation instruction on Cantera site


Hertzels-MacBook-Pro:~ hertz$ brew doctor

Your system is ready to brew.

Hertzels-MacBook-Pro:~ hertz$ brew tap --repair


but yet, no change.

Hertzels-MacBook-Pro:~ hertz$ brew install -v cantera

Error: No available formula with the name "cantera" 

==> Searching for a previously deleted formula (in the last month)...

Warning: homebrew/core is shallow clone. To get complete history run:

  git -C "$(brew --repo homebrew/core)" fetch --unshallow


Error: No previously deleted formula found.

==> Searching for similarly named formulae...

==> Searching local taps...

Error: No similarly named formulae found.

==> Searching taps...

==> Searching taps on GitHub...

Error: No formulae found in taps.


Does anyone have idea what am i doing wrong?

Thanks.

Ray Speth

unread,
Jan 18, 2018, 3:26:31 PM1/18/18
to Cantera Users' Group
Hi,

It appears that Homebrew is undergoing some reorganization, and the homebrew/science tap which previously contained Cantera no longer exists. For the time being, it is unfortunately not possible to install Cantera using Homebrew.

Regards,
Ray

Hertz

unread,
Jan 19, 2018, 3:12:37 PM1/19/18
to Cantera Users' Group
Hi Ray,

What are my other options to install cantera if not with homebrew?
Thanks.

Hertz.

בתאריך יום חמישי, 18 בינואר 2018 בשעה 22:26:31 UTC+2, מאת Ray Speth:

Ray Speth

unread,
Jan 19, 2018, 5:08:21 PM1/19/18
to Cantera Users' Group
Hertz,

You can install Cantera using conda.

Regards,
Ray

Hertz

unread,
Jan 19, 2018, 5:37:48 PM1/19/18
to Cantera Users' Group
Hi Ray,

So, in that case i wouldn't be able to work with Matlab. Right?

Thanks.
Hertz.

בתאריך יום שבת, 20 בינואר 2018 בשעה 00:08:21 UTC+2, מאת Ray Speth:

Bryan W. Weber

unread,
Jan 20, 2018, 11:50:49 AM1/20/18
to Cantera Users' Group
Hertz,

That's correct. The Matlab toolbox requires a copy of Matlab to compile the interface, so we haven't been able to distribute a binary package for macOS or Linux yet. To get the Matlab interface on Mac, you'll have to compile it yourself. You can find instructions here: http://cantera.org/docs/sphinx/html/compiling/index.html

Best,
Bryan
Reply all
Reply to author
Forward
0 new messages