I'm on Fedora 23 Workstation (Linux) and I also was able to `conda install` the developer version as stated by Dr. Weber:
from a user (non-admin) account. I would highly suggest this approach to get Cantera working quickly.
In fact (I'm going to toot my own horn here), now I can make great-looking jupyter notebooks with Cantera; I've rewritten the MatLab tutorial tut*.m files in Python, and placed them in subdirectory `cantera_stuff` of my github repository called 'Propulsion':
https://github.com/ernestyalumni/Propulsion/tree/master/cantera_stuffhttps://github.com/ernestyalumni/PropulsionSo I redid tut1.m as a jupyter notebook, and with the conda install, it works great.
https://github.com/ernestyalumni/Propulsion/blob/master/cantera_stuff/tut1.ipynbIt might take me some time to rewrite the tutorial files that I wrote in Python into jupyter notebooks, but it's all possible.
Some lingering issues:
1. Dr. Weber (and others), where in anaconda's directory is this conda install of cantera? I found it useful to load my own .cti and when I was using Cantera on a Mac OSX before, I was able to load the custom .cti file by placing it in the "root" directory of the Cantera local install on the Mac OSX; where would I place these files in this case? Digging around, I see that the directory containing .cti files appear to be here:
/home/myusername/pathtowhereIputanaconda2/anaconda2/pkgs/cantera-2.3.0a2-py27_0/lib/python2.7/site-packages/cantera/data
e.g.
/home/topolo/Public/anaconda2/pkgs/cantera-2.3.0a2-py27_0/lib/python2.7/site-packages/cantera/data
Would I put it there and then be able to access it in Python?
2. With this Anaconda install, could I still use the C/C++ interface or is it not even there, i.e. is this Anaconda install purely just the Python parts (i.e. where's the .cpp files?)
3. I didn't have to do, for this conda install
scon build
scon install
at all (which was nice and easy). Any particular reason why?
3. I'll expound on my (failed) experience building/installing Cantera on Fedora 23 Workstation (Linux) (this can be lengthy). It would be nice to have a "native" build on Fedora/Redhat Linux.
Fedora 23 Workstation comes with Python 2.7 and Python 3.4 by default and I installed gcc 5.*. I had also installed Anaconda, along with its own python, etc. pip installing numpy, etc. for Python 2.7 is easy with pip install. However, pip3 installing numpy, etc. for Python 3.4 was difficult. Lack of lapack, etc. libraries that numpy is dependent upon, on Python3 makes installing numpy on Python3 with pip3 difficult (and seemingly redundant).
So I tried to get around (since I'm guessing that SConstruct goes through all of the system default Python's (NOT Anaconda's Python) this, since there was `Import Error, no numpy` everytime SConstruct got to Python 3.4 by commenting out or adding the following lines in SConstruct (in cantera/)
Added in (around) line 1086
env['python3_package'] = 'n'
Commented out (around) line 1363-1364
#if env['python3_package'] == 'y' or env['python_package'] == 'full':
# SConscript('interfaces/cython/SConscript')
This gets around having to build for Python 3, since I didn't have numpy for python3 and didn't want to pip3 install all its dependencies.
`scons build` successfully builds, no errors, only a few warnings about, in the .cpp files that template < ... > ... are deprecated (C++11/C++14?).
`scons test` doesn't work because of KeyError: python_module
`sudo scons install` (I switched to an admin account by now; this is tangential, but could we try to have a build of cantera on a user account? It's always nerve-racking to make root changes on an admin account) doesn't work (despite the successful scons build). Same error: KeyError: no `python_module` key. Tracing the error, it seems to be with this SConscript file here
cantera/platform/posix
line 18 of SConscript, in copy_var function, with `python_module_loc'.