Hello, I wanted to see if I could get some hints about this error I'm
encountering when running NuPIC on Linux:

ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found
(required by /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so)

Thank you,

Ryan

On Sun, Sep 13, 2015 at 3:50 PM, Ryan J. McCall <[email protected]>
wrote:

> Hi Austin!
>
> Yes it's a 64-bit system. The issue was the default version of python
> being 2.6. By changing the alias for python to python2.7 I was able to
> install nupic, i.e. I can import nupic in python.
>
> Now I'm facing:
>
> ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found
> (required by /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so)
>
> By doing `strings /usr/lib64/libstdc++.so.6 | grep LIBCXX` I see that the
> highest version is `GLIBCXX_3.4.13`
>
> And `g++ -v ` gives "gcc version 4.8.5 (GCC)".
>
> Base on some reading it seems I have to do some linking or set
> $LD_LIBRARY_PATH differently.
>
> Well, that's where I am and I'd appreciate any further pointers. I'll keep
> at this.
>
> Many thanks,
>
> Ryan
> _____________________________________________
>
> Hi, Ryan!
>
> What is the output of `python -c 'import struct; print 8 *
> struct.calcsize("P")'`?
>
> For example, on my system:
>
> $ python -c 'import struct; print 8 * struct.calcsize("P")'
> 64
>
> If it prints 32, you're on a 32-bit system, in which case the 64-bit wheel
> won't work.
>
> Separately, if you're not running Python 2.7.x, then it won't work either.
> What is the output of `python --version`?
>
> It should look something like:
>
> $ python --version
> Python 2.7.6
>
>
> If installing the binaries fails, building from source is an option if
> you're running Python 2.7
>
> On Sat, Sep 12, 2015 at 5:49 PM, Ryan J. McCall <[email protected]>
> wrote:
>
>> Hi NuPIC,
>>
>> I'm trying to install NuPIC on Linux but perhaps pip thinks I'm on a
>> 32-bit system? Installing the nupic.core wheel is not happening.
>>
>> pip install
>> https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.1.5-cp27-none-linux_x86_64.whl
>> nupic.bindings-0.1.5-cp27-none-linux_x86_64.whl is not a supported wheel
>> on this platform.
>>
>> You're help is greatly appreciated.
>>
>> Thank you,
>>
>> Ryan
>>
>
>
>
> --
> Ryan J. McCall
> ryanjmccall.com
> 650 906 8223
>



-- 
Ryan J. McCall
ryanjmccall.com
650 906 8223

Reply via email to