Cantera 2.5 intallation issues: problem with "scons build"

180 views
Skip to first unread message

Amin Modabberian

unread,
Jun 9, 2023, 10:59:59 AM6/9/23
to Cantera Users' Group
Hello,

I am trying to install Cantera to my new laptop ( Windows 10) as instructed in https://gist.github.com/ischoegl/ab777f871a48d7f40ecc32c1c849faa3

I am using Anaconda with python 3.9 and trying to install Cantera 2.5.1 for VS 2019. I have previously applied the same instructions with same versions without any issue in my previous laptop (also Windows 10). However, this time I am encountering the following error, when using "scons build":

Traceback (most recent call last):
  File "C:\Users\modabba1\cantera_github\cantera\interfaces\cython\setup.py", line 16, in <module>
    from distutils.command.bdist_msi import bdist_msi
ModuleNotFoundError: No module named 'distutils.command.bdist_msi'
scons: *** [build\python\cantera\__init__.py] Error 1
scons: building terminated because of errors.

The full scons build log is attached to this message. I wondering, if I have forgotten some important steps. Or this error has to do with my python version? I haven't find any post regarding this issue. 

If you have any advice on how to overcome this problem, I would really appreciate it.

Kinda regards,
Amin modabberian
config.log
scons_build_log.txt

Ingmar Schoegl

unread,
Jul 24, 2023, 6:37:10 PM7/24/23
to Cantera Users' Group
There have been some updates to the conda installer that made some configurations no longer necessary in newer Cantera >= 2.6, but you appear to have those declared ('prefix' and 'boost_inc_dir'). Beyond that, I can only think of breakages due to some dependencies not being backward-compatible, but that is difficult to track down. Instructions should work for the current stable version (2.6) and the development version (3.0). 

-ingmar-

Amin Modabberian

unread,
Sep 26, 2023, 9:04:58 AM9/26/23
to Cantera Users' Group
Hello,

Sorry for the very late reply. I have managed to install cantera, although not the approach instructed in the link above.

BR,
Amin
Reply all
Reply to author
Forward
0 new messages