Something tells me this problem goes deeper than nupic. How did you install numpy?
Is than the standard pip installation path? > pip_build_merolaagi ? Manish, can you tell us more about your environment? Matt Sent from my MegaPhone > On Nov 16, 2013, at 10:59 PM, Manish Bhattarai <[email protected]> wrote: > > Getting two different error messages. Can somebody please help me ( Please > somebody remotely take over my computer and help me. > N/tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1494: > UserWarning: > > Atlas (http://math-atlas.sourceforge.net/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [atlas]) or by setting > > the ATLAS environment variable. > > warnings.warn(AtlasNotFoundError.__doc__) > > blas_info: > > libraries blas not found in ['/usr/local/lib', '/usr/lib', > '/usr/lib/x86_64-linux-gnu'] > > NOT AVAILABLE > > > > /tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1503: > UserWarning: > > Blas (http://www.netlib.org/blas/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [blas]) or by setting > > the BLAS environment variable. > > warnings.warn(BlasNotFoundError.__doc__) > > blas_src_info: > > NOT AVAILABLE > > > > /tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1506: > UserWarning: > > Blas (http://www.netlib.org/blas/) sources not found. > > Directories to search for the sources can be specified in the > > numpy/distutils/site.cfg file (section [blas_src]) or by setting > > the BLAS_SRC environment variable. > > warnings.warn(BlasSrcNotFoundError.__doc__) > > NOT AVAILABLE > > > > /bin/sh: 1: svnversion: not found > > lapack_opt_info: > > lapack_mkl_info: > > mkl_info: > > libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib', > '/usr/lib/x86_64-linux-gnu'] > > NOT AVAILABLE > > > > NOT AVAILABLE > > > > atlas_threads_info: > > Setting PTATLAS=ATLAS > > libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib > > libraries lapack_atlas not found in /usr/local/lib > > libraries ptf77blas,ptcblas,atlas not found in /usr/lib > > libraries lapack_atlas not found in /usr/lib > > libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu > > libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu > > numpy.distutils.system_info.atlas_threads_info > > NOT AVAILABLE > > > > atlas_info: > > libraries f77blas,cblas,atlas not found in /usr/local/lib > > libraries lapack_atlas not found in /usr/local/lib > > libraries f77blas,cblas,atlas not found in /usr/lib > > libraries lapack_atlas not found in /usr/lib > > libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu > > libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu > > numpy.distutils.system_info.atlas_info > > NOT AVAILABLE > > > > /tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1408: > UserWarning: > > Atlas (http://math-atlas.sourceforge.net/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [atlas]) or by setting > > the ATLAS environment variable. > > warnings.warn(AtlasNotFoundError.__doc__) > > lapack_info: > > libraries lapack not found in ['/usr/local/lib', '/usr/lib', > '/usr/lib/x86_64-linux-gnu'] > > NOT AVAILABLE > > > > /tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1419: > UserWarning: > > Lapack (http://www.netlib.org/lapack/) libraries not found. > > Directories to search for the libraries can be specified in the > > numpy/distutils/site.cfg file (section [lapack]) or by setting > > the LAPACK environment variable. > > warnings.warn(LapackNotFoundError.__doc__) > > lapack_src_info: > > NOT AVAILABLE > > > > /tmp/pip_build_merolaagi/numpy/numpy/distutils/system_info.py:1422: > UserWarning: > > Lapack (http://www.netlib.org/lapack/) sources not found. > > Directories to search for the sources can be specified in the > > numpy/distutils/site.cfg file (section [lapack_src]) or by setting > > the LAPACK_SRC environment variable. > > warnings.warn(LapackSrcNotFoundError.__doc__) > > NOT AVAILABLE > > > > running egg_info > > running build_src > > build_src > > building py_modules sources > > creating build > > creating build/src.linux-x86_64-2.7 > > creating build/src.linux-x86_64-2.7/numpy > > creating build/src.linux-x86_64-2.7/numpy/distutils > > building library "npymath" sources > > customize Gnu95FCompiler > > Could not locate executable gfortran > > Could not locate executable f95 > > customize IntelFCompiler > > Could not locate executable ifort > > Could not locate executable ifc > > customize LaheyFCompiler > > Could not locate executable lf95 > > customize PGroupFCompiler > > Could not locate executable pgfortran > > customize AbsoftFCompiler > > Could not locate executable f90 > > Could not locate executable f77 > > customize NAGFCompiler > > customize VastFCompiler > > customize CompaqFCompiler > > Could not locate executable fort > > customize IntelItaniumFCompiler > > Could not locate executable efort > > Could not locate executable efc > > customize IntelEM64TFCompiler > > customize GnuFCompiler > > Could not locate executable g77 > > customize G95FCompiler > > Could not locate executable g95 > > customize PathScaleFCompiler > > Could not locate executable pathf95 > > don't know how to compile Fortran code on platform 'posix' > > C compiler: x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g > -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC > > > > compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core > -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath > -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.7 -c' > > x86_64-linux-gnu-gcc: _configtest.c > > x86_64-linux-gnu-gcc -pthread _configtest.o -o _configtest > > success! > > removing: _configtest.c _configtest.o _configtest > > C compiler: x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g > -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC > > > > compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core > -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath > -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.7 -c' > > x86_64-linux-gnu-gcc: _configtest.c > > _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ > [enabled by default] > > int exp (void); > > ^ > > x86_64-linux-gnu-gcc -pthread _configtest.o -o _configtest > > _configtest.o: In function `main': > > /tmp/pip_build_merolaagi/numpy/_configtest.c:6: undefined reference to `exp' > > collect2: error: ld returned 1 exit status > > _configtest.o: In function `main': > > /tmp/pip_build_merolaagi/numpy/_configtest.c:6: undefined reference to `exp' > > collect2: error: ld returned 1 exit status > > failure. > > removing: _configtest.c _configtest.o > > C compiler: x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g > -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC > > > > compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core > -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath > -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.7 -c' > > x86_64-linux-gnu-gcc: _configtest.c > > _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ > [enabled by default] > > int exp (void); > > ^ > > x86_64-linux-gnu-gcc -pthread _configtest.o -lm -o _configtest > > success! > > removing: _configtest.c _configtest.o _configtest > > creating build/src.linux-x86_64-2.7/numpy/core > > creating build/src.linux-x86_64-2.7/numpy/core/src > > creating build/src.linux-x86_64-2.7/numpy/core/src/npymath > > conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/npymath/npy_math.c > > conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/npymath/ieee754.c > > conv_template:> > build/src.linux-x86_64-2.7/numpy/core/src/npymath/npy_math_complex.c > > building library "npysort" sources > > creating build/src.linux-x86_64-2.7/numpy/core/src/npysort > > conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/npysort/quicksort.c > > conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/npysort/mergesort.c > > conv_template:> build/src.linux-x86_64-2.7/numpy/core/src/npysort/heapsort.c > > building extension "numpy.core._dummy" sources > > Generating build/src.linux-x86_64-2.7/numpy/core/include/numpy/config.h > > C compiler: x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g > -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC > > > > compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core > -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath > -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.7 -c' > > x86_64-linux-gnu-gcc: _configtest.c > > _configtest.c:1:20: fatal error: Python.h: No such file or directory > > #include <Python.h> > > ^ > > compilation terminated. > > _configtest.c:1:20: fatal error: Python.h: No such file or directory > > #include <Python.h> > > ^ > > compilation terminated. > > failure. > > removing: _configtest.c _configtest.o > > Traceback (most recent call last): > > File "<string>", line 16, in <module> > > File "/tmp/pip_build_merolaagi/numpy/setup.py", line 214, in <module> > > setup_package() > > File "/tmp/pip_build_merolaagi/numpy/setup.py", line 207, in setup_package > > configuration=configuration ) > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/core.py", line 186, in > setup > > return old_setup(**new_attr) > > File "/usr/lib/python2.7/distutils/core.py", line 152, in setup > > dist.run_commands() > > File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands > > self.run_command(cmd) > > File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command > > cmd_obj.run() > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/command/egg_info.py", > line 8, in run > > self.run_command("build_src") > > File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command > > self.distribution.run_command(command) > > File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command > > cmd_obj.run() > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/command/build_src.py", > line 152, in run > > self.build_sources() > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/command/build_src.py", > line 169, in build_sources > > self.build_extension_sources(ext) > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/command/build_src.py", > line 328, in build_extension_sources > > sources = self.generate_sources(sources, ext) > > File "/tmp/pip_build_merolaagi/numpy/numpy/distutils/command/build_src.py", > line 385, in generate_sources > > source = func(extension, build_dir) > > File "numpy/core/setup.py", line 410, in generate_config_h > > moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir) > > File "numpy/core/setup.py", line 41, in check_types > > out = check_types(*a, **kw) > > File "numpy/core/setup.py", line 271, in check_types > > "Cannot compile 'Python.h'. Perhaps you need to "\ > > SystemError: Cannot compile 'Python.h'. Perhaps you need to install > python-dev|python-devel. > > ---------------------------------------- > Cleaning up... > Command python setup.py egg_info failed with error code 1 in > /tmp/pip_build_merolaagi/numpy > Traceback (most recent call last): > File "/usr/bin/pip", line 9, in <module> > load_entry_point('pip==1.4.1', 'console_scripts', 'pip')() > File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 148, in main > return command.main(args[1:], options) > File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 169, in > main > text = '\n'.join(complete_log) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: > ordinal not in range(128) > merolaagi@ubuntu:~/nupic$ ./build.sh > Traceback (most recent call last): > File "/nupic//build_system/setup.py", line 204, in <module> > setup(trunkdir, extraSubstitutions) > File "/nupic//build_system/setup.py", line 138, in setup > copyFiles(dir) > File "/nupic//build_system/setup.py", line 48, in copyFiles > os.path.join(path, target)) > File "/usr/lib/python2.7/shutil.py", line 130, in copy2 > copyfile(src, dst) > File "/usr/lib/python2.7/shutil.py", line 83, in copyfile > with open(dst, 'wb') as fdst: > IOError: [Errno 13] Permission denied: '/nupic/Makefile.am' > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: No module named numpy > ./build.sh: line 69: /nupic//configure: No such file or directory > > STDOUT redirected to: /tmp/ntabuild/stdout.txt > Build failed!!! > > merolaagi@ubuntu:~/nupic$ ls > aclocal.m4 cleanbuild.sh Everything.xcodeproj LICENSE.txt py > trunk.sln > autom4te.cache conf examples Makefile.am qa > trunk.slni > bin configure external Makefile.ami README.md > build.sh configure.ac githooks Makefile.in > run_tests.sh > build_system env.sh lang nta tests > merolaagi@ubuntu:~/nupic$ build.sh > build.sh: command not found > merolaagi@ubuntu:~/nupic$ ./build.sh > Traceback (most recent call last): > File "/nupic//build_system/setup.py", line 204, in <module> > setup(trunkdir, extraSubstitutions) > File "/nupic//build_system/setup.py", line 138, in setup > copyFiles(dir) > File "/nupic//build_system/setup.py", line 48, in copyFiles > os.path.join(path, target)) > File "/usr/lib/python2.7/shutil.py", line 130, in copy2 > copyfile(src, dst) > File "/usr/lib/python2.7/shutil.py", line 83, in copyfile > with open(dst, 'wb') as fdst: > IOError: [Errno 13] Permission denied: '/nupic/Makefile.am' > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: No module named numpy > ./build.sh: line 69: /nupic//configure: No such file or directory > > STDOUT redirected to: /tmp/ntabuild/stdout.txt > Build failed!!! > eed to get atleast this working.. > > > > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
