Hi Matt, Thanks for the reply. I'm able to verify that some those packages are installed except "python-dev" "libpcre3-dev" maybe given some more time I can make sure of that.
The immediate issue I'm seeing is with nupic/bindings linking to old versions of g++ on my linux machine. $ ldd /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so: /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) /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so) /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/lib/python2.7/site-packages/nupic/bindings/_math.so) I can't figure out how to point the "_math.so" to a different version of libstdc++. (the machine does have another version with the right GLIBCXX_x.y.z installed). With all this effort, I'm beginning to wonder if I should try the docker route to install on linux =) Thanks again. Best, Ryan On Thu, Sep 17, 2015 at 9:48 AM, Matthew Taylor <[email protected]> wrote: > I assume you have the following packages installed? > > python-dev python-pip automake libtool libssl-dev g++ cmake libpcre3-dev > > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Wed, Sep 16, 2015 at 8:30 AM, Ryan J. McCall <[email protected]> > wrote: > > 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 > > -- Ryan J. McCall ryanjmccall.com
