I agree with this..

This exact command worked for me..

sudo MACOSX_DEPLOYMENT_TARGET=10.10 ARCHFLAGS="-arch x86_64" pip install
nupic

I followed these pre-instructions

1) https://github.com/numenta/nupic/wiki/Running-NuPIC-on-OS-X

2) And then this page..

  https://github.com/numenta/nupic/blob/master/README.md

But on this 2nd page,

   instead of pip install nupic

I used this command..

sudo MACOSX_DEPLOYMENT_TARGET=10.10 ARCHFLAGS="-arch x86_64" pip install
nupic


The error I was getting was this:

  clang: error: invalid deployment target for -stdlib=libc++ (requires OS X
10.7 or later)

    error: command 'gcc' failed with exit status 1


Regards,

Chirag

http://www.autovimana.com






On Tue, Aug 4, 2015 at 7:44 AM, Jamie Gabriel <[email protected]> wrote:

> Hey Adam,
>
> I just ran into this issue myself. Check out the thread at:
> https://github.com/numenta/nupic/issues/2061
>
> Try including export MACOSX_DEPLOYMENT_TARGET=10.10 before your run the
> install. I am not quiet sure how this fixed it, but it did the trick.
> Cheers, Jamie
>
> On Tue, Aug 4, 2015 at 9:13 PM, Adam Casper <[email protected]> wrote:
>
>> I’m trying to get the newest version of n NuPIC up and running but i’m
>> having some trouble with the build.
>>
>> I’m getting these errors. Any help would be appreciated. Thanks, Adam
>>
>> clang: error: invalid deployment target for -stdlib=libc++ (requires OS X
>> 10.7 or later)
>> error: command '/usr/bin/clang' failed with exit status 1
>>
>>
>>
>>
>> clang: error: invalid deployment target for -stdlib=libc++ (requires OS X
>> 10.7 or later)
>> error: command 'clang' failed with exit status 1
>>
>
>


-- 
Chirag

Reply via email to