brew install python scons sundialsWarning: python-2.7.9 already installed
Warning: scons-2.3.4 already installed
==> Downloading https://computation.llnl.gov/casc/sundials/download/code/sundial
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "sundials"
Download failed: https://computation.llnl.gov/casc/sundials/download/code/sundials-2.5.0.tar.gz
import cantera
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import cantera
ImportError: No module named 'cantera'
import sys
print(sys.path)
'/usr/local/lib/python3.4/site-packages/setuptools-15.0-py3.4.egg', '/usr/local/lib/python3.4/site-packages/pip-6.1.0-py3.4.egg', '/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python34.zip', '/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4', '/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/plat-darwin', '/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload', '/usr/local/lib/python3.4/site-packages']
cantera: stable 1.8.0-beta, HEAD
http://code.google.com/p/cantera/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/cantera.rb
==> Dependencies
Required: graphviz ✔
==> Caveats
The license, demos, tutorials, data, etc. can be found in:
/usr/local/opt/cantera
Try the following in python to find the equilibrium composition of a
stoichiometric methane/air mixture at 1000 K and 1 atm:
>>> import Cantera
>>> g=Cantera.GRI30()
>>> g.set(X='CH4:1, O2:2, N2:8', T=1000, P=Cantera.OneAtm)
>>> g.equilibrate('TP')
>>> g>>> brew install python scons sundials
Warning: python-2.7.9 already installed
Warning: scons-2.3.4 already installed
==> Downloading https://computation.llnl.gov/casc/sundials/download/code/sundials-2.5.0.tar
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "sundials"
Download failed: https://computation.llnl.gov/casc/sundials/download/code/sundials-2.5.0.tar.gz
>>>cantera: stable 2.1.2, HEAD
http://code.google.com/p/cantera/
/usr/local/Cellar/cantera/2.1.2 (1180 files, 79M) *
Built from source with: --with-matlab=
From: https://github.com/homebrew/homebrew-science/blob/master/cantera.rb
==> Dependencies
Build: scons ✔
Recommended: sundials ✔
Optional: graphviz ✘
==> Options
--with-graphviz
Build with graphviz support
--with-matlab=
Path to Matlab root directory
--with-python3
Build with python3 support
--without-check
Disable build-time checking (not recommended)
--without-sundials
Build without sundials support
--HEAD
Install HEAD version
==> Caveats
The license, demos, tutorials, data, etc. can be found in:
/usr/local/opt/cantera
Try the following in python to find the equilibrium composition of a
stoichiometric methane/air mixture at 1000 K and 1 atm:
>>> import cantera as ct
>>> g = ct.Solution('gri30.cti')
>>> g.TPX = 1000, ct.one_atm, 'CH4:1, O2:2, N2:8'
>>> g.equilibrate('TP')
>>> g()
homebrew/science
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7a1327defb8146a0c9d915067abcc55103fb75ad
Last commit: 26 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.10.3-x86_64
Xcode: 6.3.1
CLT: 6.3.1.0.1.1429149539
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
Java: 1.6.0_65