scipy and numpy provide sophisticated and fast mathematical routines for python and installing them with analysis should be a breeze. However, it wasn't quite as simple as it seemed ;-) Specifically analysis is built with narrow unicode support and scipy/numpy require wide support....
so you have to add --enable-unicode=ucs4 to the python configure command line when compiling python for analysis using the supplied python. This command this is at about line 346 in installCode.py fro analysis 1.0.10
cmds = []
cmds.append('./configure --enable-unicode=ucs4 --prefix=%s/%s' % (top_dir,python_rel_dir))
cmds.append('make')
cmds.append('make install')
runCmds(cmds)
in the function def compilePython(x11_abs_dir, tcl_abs_dir, tk_abs_dir):
Friday, July 14, 2006
Subscribe to:
Posts (Atom)