There seems to be a compatibility issue with Numpy V1.1 and Py2Exe V0.6.8
which I have installed on XP along with Python V2.5.2 and SciPy V0.6.0.

The compilation proceeds without incident apart from the usual list of
missing modules but when the executable is run, the following error arises:

Traceback (most recent call last):
File "Magnetic_Data_Processor.py", line 4, in <module>
import matplotlib
File "zipextimporter.pyo", line 82, in load_module
File "matplotlib\__init__.pyo", line 128, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "matplotlib\rcsetup.pyo", line 18, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "matplotlib\colors.pyo", line 37, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "numpy\__init__.pyo", line 93, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "numpy\add_newdocs.pyo", line 9, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "numpy\lib\__init__.pyo", line 19, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "numpy\lib\financial.pyo", line 78, in <module>
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

I've tried removing the import of the finacial module by editing the
lib.__init__ as I don't use the financial module anyway but then it just
proceeds past this to a similar problem with the ma.core module:

File "numpy\ma\core.pyo", line 3273, in <module>
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

I need this ma.core so I'm a bit stuck.

Any help would be very much appreciated. I've tried a number of approaches
and I'm struggling a little. Oh, also python is installed to C:\Python25

Thanks,
James

Did you install scipy with eggs? Enthought distributions historically are "hard" to use with py2exe.

I've managed to easily create executables with the enthought distro ( that includes most of the modules and packages your are having troubles with ) copying all the stuff needed inside site-packages that is not included by py2exe into a folder and then sticking this folder path into sys.path. ( do this into your first script that is launched before importing everything else ) It also works with eggs ( non compressed eggs ). It's not very elegant and either the best solution but at least makes everything work. ;P

Hope this can help you :)

cheers

Fabio