hmm... So you have a working version of python. You could try log out/log
in - if somehow the new install and changes to profile file did not
propagate.
After that, you could check output of cmake $NUPIC , at the beginning it
prints env settings (eg python version, ...) can you verify it's correct?

Let us know how it goes


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

> Marek - thanks. I installed enthought's version of python a while ago, its
> python 2.7. Not sure if i should try to revert this. This installation
> added some things to my .profile file:
>
> active, otherwise 1
> VIRTUAL_ENV_DISABLE_PROMPT=1 source
> /Users/Dpetrillo/Library/Enthought/Canopy_32bit/User/bin/activate
>
>
> And i also added the following below it, according to the readme:
>
> export NUPIC=/Users/Dpetrillo/nupic
> export NTA=$NUPIC/build/release
> export PYTHONPATH=$PYTHONPATH:$NTA/lib/python2.7/site-packages
>
> Here is what happens when i check python version:
>
> Davids-MacBook-Air:scripts Dpetrillo$ python
> Enthought Canopy Python 2.7.3 | 32-bit | (default, Jun 14 2013, 18:24:40)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> quit()
> Davids-MacBook-Air:scripts Dpetrillo$ which python
> /Users/Dpetrillo/Library/Enthought/Canopy_32bit/User/bin/python
> Davids-MacBook-Air:scripts Dpetrillo$
>
>
> On Wed, Apr 23, 2014 at 2:08 PM, Marek Otahal <[email protected]>wrote:
>
>> Hi Dave,
>>
>> On Wed, Apr 23, 2014 at 7:59 PM, <[email protected]> wrote:
>>
>>> *    'Python.h' file not found*
>>>
>>> #include <Python.h>
>>>
>>> *         ^*
>>>
>> python can be found. Is it properly installed? (ver 2.6, 2.7), what does
>> python --version say?  Cmake should detect it automatically.
>>
>> Cheers, Mark
>>
>>
>> --
>> Marek Otahal :o)
>>
>> _______________________________________________
>> 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
>
>


-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to