</source>
== Compile program issues with scons ==
<source lang="bash">
# Go into install directory
# find . -name Python.h
./appdata/canopy-1.4.0.1938.rh5-x86_64/include/python2.7/Python.h
</source>
###############################=== Python.h ===# TRY<source lang="bash">[tlinnet@tomat disp_spin_speed]$ sconsscons: Reading SConscript files ...scons: done reading SConscript files.scons: Building targets ...gcc -o target_functions/relax_fit.os -c -I/sbinlab2/software/python-enthought-dis/canopy-1.4.0-full-rh5-64/Canopy_64bit/User/include/python2.7 -fPIC target_functions/relax_fit.ctarget_functions/relax_fit.c:21:20: error: Python.h: No such file or directorytarget_functions/relax_fit.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokentarget_functions/relax_fit.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokentarget_functions/relax_fit.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokentarget_functions/relax_fit.c:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokentarget_functions/relax_fit.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokentarget_functions/relax_fit.c:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'relax_fit_methods'target_functions/relax_fit.c: In function 'initrelax_fit':target_functions/relax_fit.c:227: error: 'relax_fit_methods' undeclared (first use in this function)target_functions/relax_fit.c:227: error: (Each undeclared identifier is reported only oncetarget_functions/relax_fit.c:227: error: for each function it appears in.)scons: *** [target_functions/relax_fit.os] Error 1scons: building terminated because of errors.</source>Then try<source lang="bash">
setenv PYTHON_INCLUDE_DIR $IND/appdata/canopy-1.4.0.1938.rh5-x86_64/include/python2.7
</source>