It seems like you are missing some essential packages. Can you try
installing the packages listed here?
https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu#install-required-packages

> sudo apt-get install python-dev python-pip automake libtool libssl-dev g++ 
> cmake mysql-server libpcre3-dev

---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Wed, May 6, 2015 at 1:48 PM, Burman, Jerry (US - Los Angeles)
<[email protected]> wrote:
> Here is how I attempted to run setup.py (besides not seeing gcc4.8 which is 
> installed, it seems like there are other problems?):
>
> jerry@jerry-Precision-T3610:~/nupic/nupic-master$ sudo python setup.py install
> Target nupic.core package already exists at 
> /home/jerry/nupic/nupic-master/extensions/core/nupic_core-ed979c992bbf5d188af338a35a775185c9f8c46f-linux64.tar.gz.
> Unpacking 
> /home/jerry/nupic/nupic-master/extensions/core/nupic_core-ed979c992bbf5d188af338a35a775185c9f8c46f-linux64.tar.gz
>  into /home/jerry/nupic/nupic-master/extensions/core/build/release...
> /home/jerry/nupic/nupic-master/external/linux64/bin/swig -c++ -python 
> -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs 
> -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple 
> -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 
> -DSWIG_PYTHON_LEGACY_BOOL 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2/python 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2 -DNUPIC2 
> -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL 
> -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX 
> -I/home/jerry/nupic/nupic-master/external/linux64/include 
> -I/home/jerry/nupic/nupic-master/external/common/include 
> -I/home/jerry/nupic/nupic-master/extensions -I/home/jerry/nupic/nupic-master 
> -I/home/jerry/nupic/nupic-master/extensions/core/build/release/include 
> -I/usr/include/python2.7 
> -I/usr/lib/python2.7/dist-packages/numpy/core/include 
> nupic/bindings/algorithms.i
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:521:
>  Warning 325: Nested struct not currently supported (lexicographic ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:533:
>  Warning 325: Nested struct not currently supported (less_value ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:545:
>  Warning 325: Nested struct not currently supported (greater_value ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566:
>  Warning 325: Nested struct not currently supported (lexicographic_order 
> ignored)
> nupic/bindings/algorithms.i:722: Warning 303: %extend defined for an 
> undeclared class nupic::algorithms::Inhibition.
> nupic/bindings/algorithms.i:752: Warning 303: %extend defined for an 
> undeclared class nupic::algorithms::Inhibition2.
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36:
>  Warning 401: Nothing known about base class 'Exception'. Ignored.
> /home/jerry/nupic/nupic-master/external/linux64/bin/swig -c++ -python 
> -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs 
> -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple 
> -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 
> -DSWIG_PYTHON_LEGACY_BOOL 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2/python 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2 -DNUPIC2 
> -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL 
> -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX 
> -I/home/jerry/nupic/nupic-master/external/linux64/include 
> -I/home/jerry/nupic/nupic-master/external/common/include 
> -I/home/jerry/nupic/nupic-master/extensions -I/home/jerry/nupic/nupic-master 
> -I/home/jerry/nupic/nupic-master/extensions/core/build/release/include 
> -I/usr/include/python2.7 
> -I/usr/lib/python2.7/dist-packages/numpy/core/include 
> nupic/bindings/engine_internal.i
> /home/jerry/nupic/nupic-master/external/linux64/bin/swig -c++ -python 
> -features autodoc=0,directors=0 -noproxyimport -keyword -modern -modernargs 
> -noproxydel -fvirtual -fastunpack -nofastproxy -fastquery -outputtuple 
> -castmode -nosafecstrings -w402 -w503 -w511 -w302 -w362 -w312 -w389 
> -DSWIG_PYTHON_LEGACY_BOOL 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2/python 
> -I/home/jerry/nupic/nupic-master/external/common/share/swig/3.0.2 -DNUPIC2 
> -DNTA_OS_LINUX -DNTA_ARCH_64 -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL 
> -DNTA_ASSERTIONS_ON -DNTA_ASM -DHAVE_CONFIG_H -DBOOST_NO_WREGEX 
> -I/home/jerry/nupic/nupic-master/external/linux64/include 
> -I/home/jerry/nupic/nupic-master/external/common/include 
> -I/home/jerry/nupic/nupic-master/extensions -I/home/jerry/nupic/nupic-master 
> -I/home/jerry/nupic/nupic-master/extensions/core/build/release/include 
> -I/usr/include/python2.7 
> -I/usr/lib/python2.7/dist-packages/numpy/core/include nupic/bindings/math.i
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:521:
>  Warning 325: Nested struct not currently supported (lexicographic ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:533:
>  Warning 325: Nested struct not currently supported (less_value ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/Math.hpp:545:
>  Warning 325: Nested struct not currently supported (greater_value ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/math/SparseBinaryMatrix.hpp:566:
>  Warning 325: Nested struct not currently supported (lexicographic_order 
> ignored)
> /home/jerry/nupic/nupic-master/extensions/core/build/release/include/nupic/utils/LoggingException.hpp:36:
>  Warning 401: Nothing known about base class 'Exception'. Ignored.
> running install
> running bdist_egg
> running egg_info
> writing requirements to nupic.egg-info/requires.txt
> writing nupic.egg-info/PKG-INFO
> writing top-level names to nupic.egg-info/top_level.txt
> writing dependency_links to nupic.egg-info/dependency_links.txt
> reading manifest file 'nupic.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: manifest_maker: MANIFEST.in, line 15: 'recursive-include' expects 
> <dir> <pattern1> <pattern2> ...
>
> writing manifest file 'nupic.egg-info/SOURCES.txt'
> installing library code to build/bdist.linux-x86_64/egg
> running install_lib
> running build_py
> copying nupic/bindings/math.py -> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/algorithms.py -> 
> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/engine_internal.py -> 
> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/algorithms_wrap.cxx -> 
> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/engine_internal_wrap.cxx -> 
> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/math_wrap.cxx -> 
> build/lib.linux-x86_64-2.7/nupic/bindings
> copying nupic/bindings/proto/RandomProto.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/ClaClassifier.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/SparseMatrixProto.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/SparseBinaryMatrixProto.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/ConnectionsProto.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/BitHistory.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> copying nupic/bindings/proto/SpatialPoolerProto.capnp -> 
> build/lib.linux-x86_64-2.7/nupic/bindings/proto
> running build_ext
> building 'nupic.libcpp_region' extension
> x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
> -Wall -Wstrict-prototypes -fPIC -DNUPIC2 -DNTA_OS_LINUX -DNTA_ARCH_64 
> -DNTA_PYTHON_SUPPORT=2.7 -DNTA_INTERNAL -DNTA_ASSERTIONS_ON -DNTA_ASM 
> -DHAVE_CONFIG_H -DBOOST_NO_WREGEX 
> -I/home/jerry/nupic/nupic-master/external/linux64/include 
> -I/home/jerry/nupic/nupic-master/external/common/include 
> -I/home/jerry/nupic/nupic-master/extensions -I/home/jerry/nupic/nupic-master 
> -I/home/jerry/nupic/nupic-master/extensions/core/build/release/include 
> -I/usr/include/python2.7 
> -I/usr/lib/python2.7/dist-packages/numpy/core/include 
> -I/usr/include/python2.7 -c extensions/py_support/NumpyVector.cpp -o 
> build/temp.linux-x86_64-2.7/extensions/py_support/NumpyVector.o -std=c++11 
> -m64 -fPIC -fvisibility=hidden -Wall -Wextra -Wreturn-type -Wunused 
> -Wno-unused-parameter -mtune=generic -O2
> unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>
>
>
>
>
> This message (including any attachments) contains confidential information 
> intended for a specific individual and purpose, and is protected by law. If 
> you are not the intended recipient, you should delete this message and any 
> disclosure, copying, or distribution of this message, or the taking of any 
> action based on it, by you is strictly prohibited.
>
> v.E.1
>
>
> -----Original Message-----
> From: nupic [mailto:[email protected]] On Behalf Of Matthew 
> Taylor
> Sent: Wednesday, May 6, 2015 1:27 PM
> To: Burman, Jerry (US - Los Angeles)
> Subject: Re: How to Run Nupic Example
>
> On Wed, May 6, 2015 at 1:25 PM, Burman, Jerry (US - Los Angeles)
> <[email protected]> wrote:
>> I then located the setup.py and ran that python script.
>
> How did you run this script, and what was the console output?
>
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>

Reply via email to