You must have the development version of Python that includes the header
files. It is likely that you installed a non-development version from
Enthought. I don't know if that distribution has a development version
option or not.


On Wed, Apr 23, 2014 at 1:34 PM, <[email protected]> wrote:

> Marek - thanks again. I checked and make included a warning about
> logging out and back in. I did that, then i still get the same error,
> regarding python.h.
> Here is the output of the beginning of cmake and just checking the
> local variables:
>
> Davids-MacBook-Air:nupic Dpetrillo$ echo $NUPIC
> /Users/Dpetrillo/nupic
> Davids-MacBook-Air:nupic Dpetrillo$ echo $NTA
> /Users/Dpetrillo/nupic/build/release
> Davids-MacBook-Air:nupic Dpetrillo$ echo $PYTHONPATH
> :/Users/Dpetrillo/nupic/build/release/lib/python2.7/site-packages
> Davids-MacBook-Air:nupic Dpetrillo$ mkdir -p $NUPIC/build/scripts
> Davids-MacBook-Air:nupic Dpetrillo$ cd $NUPIC/build/scripts
> Davids-MacBook-Air:scripts Dpetrillo$
> Davids-MacBook-Air:scripts Dpetrillo$ pwd
> /Users/Dpetrillo/nupic/build/scripts
> Davids-MacBook-Air:scripts Dpetrillo$ cmake $NUPIC
> -- Checking platform...
> -- Platform: darwin64
> -- Platform-specific flags:
> --   Libraries: -std=c++98 -stdlib=libstdc++ -lc++abi -liconv
> -lsqlite3 -framework CoreServices -framework Accelerate
> --   CXX flags: -fPIC -DPIC -m64
> --   Debug flags: -gfull
> --   LD flags:  -Wl,-u,_munmap
> --   Python extension link flags: -bundle -undefined dynamic_lookup -fPIC
> --   Python embedding link flags:
> -- Checking software tools...
> Python 2.7.3 --  32-bit
> -- Python details:
> --   Version: 2.7
> --   Include dir:
> /Users/Dpetrillo/Library/Enthought/Canopy_32bit/User/include/python2.7
> --   Library dir:
> /Users/Dpetrillo/Library/Enthought/Canopy_32bit/User/lib/python2.7
> --   Site packages dir:
> /Users/Dpetrillo/nupic/build/release/lib/python2.7/site-packages
> --   Python lib: /usr/lib/libpython2.7.dylib
> --   Python command: python
> -- Numpy details:
> --   Version: 1.7.1
> --   Include dir:
>
> /Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86/Canopy.app/Contents/lib/python2.7/site-packages/numpy/core/include
> -- Swig details:
> --   Version: 1.3.36
> -- Checking environment...
> -- Environment variables:
> --   PYTHONPATH =
> /Users/Dpetrillo/nupic/build/release/lib/python2.7/site-packages
> --   NUPIC = /Users/Dpetrillo/nupic
> --   NTA = /Users/Dpetrillo/nupic/build/release
> --   NTA_DATA_PATH =
> /Users/Dpetrillo/nupic/build/release/share/prediction/data
> --   MACOSX_DEPLOYMENT_TARGET = 10.7
> --   NTAX_DEVELOPER_BUILD =
> -- Config file variables:
> --   TEST_VARIABLE =
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to