Setting system environment variable '''PYTHON_INCLUDE_DIR''' to point to the dir with '''Python.h''' solved the problem.
==== For MAC ======= Python.h ====
<source lang="bash">
echo "PYTHON_INCLUDE_DIR=/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/include/python2.7" >> $HOME/.bash_profile
echo "export PYTHON_INCLUDE_DIR" >> $HOME/.bash_profile
</source>
==== Wx program running on Canopy 1.4 on OS X "Please run with a Framework build of python" ====
See https://support.enthought.com/entries/22601196-wxPython-2-8-and-2-9 to fix it.
== See also ==
[[Category:Installation | Installation category]]
[[Category:Installation]]