dbirch997 / cantera

Automatically exported from code.google.com/p/cantera
1 stars 0 forks source link

Cantera 2.1.1 Python module for 32 bit windows produces error #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Python 3.3.4 for 32-bit Windows and NumPy 1.7.2 package
2. Install Cantera-Python-2.1.1-x86-py3.3.msi
3. Try: import cantera as ct

The following error message shows:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import cantera as ct
  File "C:\Python33\lib\site-packages\cantera\__init__.py", line 1, in <module>
    from ._cantera import *
  File "__init__.pxd", line 861, in init cantera._cantera (cantera/_cantera.cpp:69763)
ValueError: numpy.ufunc has the wrong size, try recompiling

Original issue reported on code.google.com by SLesok...@gmail.com on 2 Mar 2014 at 3:42

GoogleCodeExporter commented 9 years ago
Try upgrading to Numpy 1.8 (Available from 
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy -- I don't know why the Numpy 
site doesn't have binaries for Python 3.3). If this fixes the error, please let 
me know and I'll update the installation instructions to indicate the version 
requirement.

Original comment by yarmond on 2 Mar 2014 at 10:51

GoogleCodeExporter commented 9 years ago
Upgrading to NumPy 1.8.1 (RC1) solved the problem. Thank you!

Original comment by SLesok...@gmail.com on 3 Mar 2014 at 5:45

GoogleCodeExporter commented 9 years ago
Thanks for the confirmation. Wiki page updated accordingly.

Original comment by yarmond on 3 Mar 2014 at 4:45