Hey,

I do have gcc 4.8 now I am getting the gcc exit code 1.

I followed the instructions to use the following command

[sudo] CC=clang CXX=clang++ python setup.py install --user

I get the following error:

unable to execute 'clang': No such file or directory
error: command 'clang' failed with exit status 1

Although, I must point out that I cannot use sudo because I do not have
admin privs on that machine.


Pulin Agrawal
पुलिन अग्रवाल

On Tue, Jul 14, 2015 at 9:33 PM, Matthew Taylor <[email protected]> wrote:

> Yes, you'll need gcc 4.8.
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
>
> On Tue, Jul 14, 2015 at 2:07 PM, Pulin Agrawal <[email protected]>
> wrote:
> > I was using 2.6.6.
> >
> > Sorry about that. I realized I had to use 2.7.
> >
> > Still I am getting some error. I think I need to check my gcc version
> which
> > is at 4.6 currently.
> >
> >
> > Pulin Agrawal
> > पुलिन अग्रवाल
> >
> > On Tue, Jul 14, 2015 at 1:46 AM, Matthew Taylor <[email protected]>
> wrote:
> >>
> >> What version of python are you using? "python --version"
> >> ---------
> >> Matt Taylor
> >> OS Community Flag-Bearer
> >> Numenta
> >>
> >>
> >> On Mon, Jul 13, 2015 at 7:24 PM, Pulin Agrawal <[email protected]>
> >> wrote:
> >> > I am getting the following error while trying to install NUPIC.
> >> > I have no idea what the error is about. Can anyone help me with this?
> >> >
> >> > [pagrawal@login1 nupic]$ python setup.py develop
> >> >
> >> > Attempting to fetch nupic.core binaries...
> >> > Downloading from
> >> >
> >> >
> >> >
> https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/nupic_core-66de57d6294575ad36343a8ab8d1e0697e1789dc-linux64.tar.gz
> >> > to
> >> >
> >> >
> /home/pagrawal/nupic/extensions/core/nupic_core-66de57d6294575ad36343a8ab8d1e0697e1789dc-linux64.tar.gz.
> >> >
> >> > Downloaded 2506752 of 50111610 bytes (5%).
> >> > Downloaded 5013504 of 50111610 bytes (10%).
> >> > Downloaded 7520256 of 50111610 bytes (15%).
> >> > Downloaded 10027008 of 50111610 bytes (20%).
> >> > Downloaded 12533760 of 50111610 bytes (25%).
> >> > Downloaded 15040512 of 50111610 bytes (30%).
> >> > Downloaded 17539072 of 50111610 bytes (35%).
> >> > Downloaded 20045824 of 50111610 bytes (40%).
> >> > Downloaded 22552576 of 50111610 bytes (45%).
> >> > Downloaded 25059328 of 50111610 bytes (50%).
> >> > Downloaded 27566080 of 50111610 bytes (55%).
> >> > Downloaded 30072832 of 50111610 bytes (60%).
> >> > Downloaded 32579584 of 50111610 bytes (65%).
> >> > Downloaded 35078144 of 50111610 bytes (70%).
> >> > Downloaded 37584896 of 50111610 bytes (75%).
> >> > Downloaded 40091648 of 50111610 bytes (80%).
> >> > Downloaded 42598400 of 50111610 bytes (85%).
> >> > Downloaded 45105152 of 50111610 bytes (90%).
> >> > Downloaded 47611904 of 50111610 bytes (95%).
> >> > Downloaded 50111610 of 50111610 bytes (100%).
> >> > Download successful.
> >> > Unpacking
> >> >
> >> >
> /home/pagrawal/nupic/extensions/core/nupic_core-66de57d6294575ad36343a8ab8d1e0697e1789dc-linux64.tar.gz
> >> > into /home/pagrawal/nupic/extensions/core/build/release...
> >> > Traceback (most recent call last):
> >> >   File "setup.py", line 651, in <module>
> >> >     nupicCoreReleaseDir = prepareNupicCore(options, platform, bitness)
> >> >   File "setup.py", line 578, in prepareNupicCore
> >> >     nupicCoreReleaseDir)
> >> >   File "setup.py", line 82, in unpackFile
> >> >     with tarfile.open(package, "r:gz") as tarFileObj:
> >> > AttributeError: 'TarFile' object has no attribute '__exit__'
> >> >
> >> > Pulin Agrawal
> >> > पुलिन अग्रवाल
> >>
> >
>
>

Reply via email to