Closed GoogleCodeExporter closed 9 years ago
A little more info, I also reinstalled NumPy and python 2.7.3 to make sure they
were in properly. I haven't reinstalled Cantera yet...
Original comment by derek.pa...@gmail.com
on 8 Mar 2013 at 9:02
I think the problem is that you need to modify the ctpath.m file to point to
the location of Python on your computer.
Original comment by yarmond
on 9 Mar 2013 at 12:36
This is the contents of ctpath, from the installer. If the package is
installed c:\Python27\python.exe
But what should the PYTHONPATH env variable be set to?
path('C:\Program Files\Cantera\matlab\toolbox', path)
path('C:\Program Files\Cantera\matlab\toolbox/1D', path)
setenv('PYTHON_CMD', 'G:\virtualenv\py27-64\Scripts\python.exe')
setenv('PYTHONPATH', [getenv('PYTHONPATH'),
':C:\src\cantera\stage\lib\python2.7\site-packages'])
Original comment by ethan.ea...@gmail.com
on 12 Mar 2013 at 9:13
If you have Python installed in C:\Python27, then probably you should use:
setenv('PYTHON_CMD', 'C:\Python27\python.exe')
setenv('PYTHONPATH', 'C:\Python27\Lib\\site-packages'])
The installer doesn't know where you installed Python, so there's no way for it
to generate a version of this file that is correct for your machine. The
default values are just what happened to be the correct paths on the machine
where the installer was created.
Original comment by yarmond
on 12 Mar 2013 at 10:51
Thanks, it works now!
Original comment by derek.pa...@gmail.com
on 13 Mar 2013 at 5:23
Original comment by yarmond
on 13 Mar 2013 at 10:44
Original issue reported on code.google.com by
derek.pa...@gmail.com
on 8 Mar 2013 at 9:00