How to install cantera on SAGE (OS X)?

asked 2017-09-28 02:19:41 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Cantera installation use brew for Mac os x, http://www.cantera.org/docs/sphinx/html/install.html#mac-os-x (www.cantera.org/docs/sphinx/html/inst...)

installing brew on SAGE:

sage -sh (& ruby brews formula)

does not use SAGE pythons path.

What can I do? Of course I can get out from Jupyter sage kernel and select python kernel, but....

Filipe

edit retag flag offensive close merge delete

Comments

Finally! I solved the problem.

Installing the https://cantera.org/install/macos-install.html (miniconda)

install https://doc.sagemath.org/html/en/installation/conda.html (sage)

install https://cantera.org/install/macos-install.html (cantera) in the sage environment.

Thank you all.

Filipe

PS. Cantera will run well but it seems that sage is running with python3 and so there are some problems (plot3D, list_plot, zip etc.)

Flips gravatar imageFlips ( 2018-10-22 08:27:50 -0500 )edit