Created
August 4, 2014 18:27
-
-
Save rhyolight/b0898521f7a05a1a65f1 to your computer and use it in GitHub Desktop.
ubuntu pip install nupic failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ pip install nupic | |
Downloading/unpacking nupic | |
Downloading nupic-0.1.15.tar.gz (27.2Mb): 27.2Mb downloaded | |
Running setup.py egg_info for package nupic | |
warning: no files found matching '_*.dll' under directory 'nupic/bindings' | |
Installing collected packages: nupic | |
Running setup.py install for nupic | |
-- The CXX compiler identification is unknown | |
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. | |
-- Checking platform... | |
-- Platform: linux32 | |
-- Platform-specific flags: | |
-- Libraries: -std=c++98 -lm -lpthread -ldl -lutil | |
-- CXX flags: -fPIC -DPIC -ffloat-store | |
-- Debug flags: -g | |
-- LD flags: -Wl,--no-as-needed -static-libgcc | |
-- Python extension link flags: -pthread -shared | |
-- Python embedding link flags: -Wl,--export-dynamic | |
-- Checking software tools... | |
Python 2.7.3 | |
-- Found PythonLibs: /usr/lib/python2.7/config/libpython2.7.so (Required is at least version "2.7") | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named numpy | |
CMake Error at CMakeLists.txt:538 (string): | |
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to | |
command. | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named numpy | |
-- Swig details: | |
-- Version: | |
-- Swig executable: | |
-- Version: /home/matt/build/nupic/external/linux32/bin/swig | |
-- Swig dir: | |
-- Version: /home/matt/build/nupic/external/common/share/swig/1.3.36 | |
CMake Error at CMakeLists.txt:560 (string): | |
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to | |
command. | |
-- Python details: | |
-- Version: 2.7 | |
-- Include dir: /usr/include/python2.7 | |
-- Library dir: /usr/lib/python2.7 | |
-- Python lib: /usr/lib/python2.7/config/libpython2.7.so | |
-- Python command: python | |
-- Numpy details: | |
-- Version: | |
-- Include dir: | |
-- Swig details: | |
-- Version: | |
-- Checking environment... | |
-- Environment variables: | |
-- NUPIC = /home/matt/build/nupic | |
-- NTA = /home/matt/build/nupic | |
-- NTA_DATA_PATH = /home/matt/build/nupic/resources | |
You should logoff your system in order to some environment variables are changed permanently. If the problem persists, consider set manually the variables above in your 'bashrc' file | |
-- Checking project... | |
-- Project: nupic | |
-- Locations: | |
-- Source: /home/matt/build/nupic | |
-- Build System: /home/matt/build/nupic/build/scripts | |
-- Options: | |
-- Optimization: ON | |
-- Debug Symbols: ON | |
-- Assertions: ON | |
-- Profiling: OFF | |
-- MPI Support: ON | |
-- Python Support: ON | |
-- ===PYPI DEBUG get_source_groups=== | |
-- get_source_groups = | |
-- src_dir = /home/matt/build/nupic/extensions/py_support | |
-- ===PYPI DEBUG get_source_groups=== | |
-- ===PYPI DEBUG get_source_groups=== | |
-- SOURCE_RETURNED = /home/matt/build/nupic/extensions/py_support/PyHelpers.cpp;/home/matt/build/nupic/extensions/py_support/PythonStream.cpp;/home/matt/build/nupic/extensions/py_support/NumpyVector.cpp;/home/matt/build/nupic/extensions/py_support/PyArray.cpp;/home/matt/build/nupic/extensions/py_support/PyArray.hpp;/home/matt/build/nupic/extensions/py_support/NumpyVector.hpp;/home/matt/build/nupic/extensions/py_support/PyHelpers.hpp;/home/matt/build/nupic/extensions/py_support/WrappedVector.hpp;/home/matt/build/nupic/extensions/py_support/PythonStream.hpp | |
-- ===PYPI DEBUG get_source_groups=== | |
Cloning into '/home/matt/build/nupic/extensions/core'... | |
Note: checking out '48e4c912c9ee03b8a405c7130a52fb01ce6c6068'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -b with the checkout command again. Example: | |
git checkout -b new_branch_name | |
HEAD is now at 48e4c91... Merge pull request #153 from DavidRagazzi/patch-1 | |
-- Building 'nupic_core' library... | |
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:43 (MESSAGE): | |
Could not find compiler set in environment variable CXX: | |
CMAKE_CXX_COMPILER-NOTFOUND. | |
Call Stack (most recent call first): | |
CMakeLists.txt:207 (project) | |
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. | |
Missing variable is: | |
CMAKE_CXX_COMPILER_ENV_VAR | |
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. | |
Missing variable is: | |
CMAKE_CXX_COMPILER | |
CMake Error: Could not find cmake module file:/home/matt/build/nupic/extensions/core/build/scripts/CMakeFiles/CMakeCXXCompiler.cmake | |
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage | |
-- Configuring incomplete, errors occurred! | |
make: *** No targets specified and no makefile found. Stop. | |
CMake Error at CMakeLists.txt:321 (message): | |
Compiling 'nupic_core' library within /home/matt/build/nupic failed. | |
Call Stack (most recent call first): | |
CMakeLists.txt:784 (generate_submodule_library) | |
-- Configuring incomplete, errors occurred! | |
Unable to generate build scripts! | |
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/matt/build/nupic/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-bLC53R-record/install-record.txt: | |
-- The CXX compiler identification is unknown | |
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. | |
-- Checking platform... | |
-- Platform: linux32 | |
-- Platform-specific flags: | |
-- Libraries: -std=c++98 -lm -lpthread -ldl -lutil | |
-- CXX flags: -fPIC -DPIC -ffloat-store | |
-- Debug flags: -g | |
-- LD flags: -Wl,--no-as-needed -static-libgcc | |
-- Python extension link flags: -pthread -shared | |
-- Python embedding link flags: -Wl,--export-dynamic | |
-- Checking software tools... | |
Python 2.7.3 | |
-- Found PythonLibs: /usr/lib/python2.7/config/libpython2.7.so (Required is at least version "2.7") | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named numpy | |
CMake Error at CMakeLists.txt:538 (string): | |
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to | |
command. | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named numpy | |
-- Swig details: | |
-- Version: | |
-- Swig executable: | |
-- Version: /home/matt/build/nupic/external/linux32/bin/swig | |
-- Swig dir: | |
-- Version: /home/matt/build/nupic/external/common/share/swig/1.3.36 | |
CMake Error at CMakeLists.txt:560 (string): | |
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to | |
command. | |
-- Python details: | |
-- Version: 2.7 | |
-- Include dir: /usr/include/python2.7 | |
-- Library dir: /usr/lib/python2.7 | |
-- Python lib: /usr/lib/python2.7/config/libpython2.7.so | |
-- Python command: python | |
-- Numpy details: | |
-- Version: | |
-- Include dir: | |
-- Swig details: | |
-- Version: | |
-- Checking environment... | |
-- Environment variables: | |
-- NUPIC = /home/matt/build/nupic | |
-- NTA = /home/matt/build/nupic | |
-- NTA_DATA_PATH = /home/matt/build/nupic/resources | |
You should logoff your system in order to some environment variables are changed permanently. If the problem persists, consider set manually the variables above in your 'bashrc' file | |
-- Checking project... | |
-- Project: nupic | |
-- Locations: | |
-- Source: /home/matt/build/nupic | |
-- Build System: /home/matt/build/nupic/build/scripts | |
-- Options: | |
-- Optimization: ON | |
-- Debug Symbols: ON | |
-- Assertions: ON | |
-- Profiling: OFF | |
-- MPI Support: ON | |
-- Python Support: ON | |
-- ===PYPI DEBUG get_source_groups=== | |
-- get_source_groups = | |
-- src_dir = /home/matt/build/nupic/extensions/py_support | |
-- ===PYPI DEBUG get_source_groups=== | |
-- ===PYPI DEBUG get_source_groups=== | |
-- SOURCE_RETURNED = /home/matt/build/nupic/extensions/py_support/PyHelpers.cpp;/home/matt/build/nupic/extensions/py_support/PythonStream.cpp;/home/matt/build/nupic/extensions/py_support/NumpyVector.cpp;/home/matt/build/nupic/extensions/py_support/PyArray.cpp;/home/matt/build/nupic/extensions/py_support/PyArray.hpp;/home/matt/build/nupic/extensions/py_support/NumpyVector.hpp;/home/matt/build/nupic/extensions/py_support/PyHelpers.hpp;/home/matt/build/nupic/extensions/py_support/WrappedVector.hpp;/home/matt/build/nupic/extensions/py_support/PythonStream.hpp | |
-- ===PYPI DEBUG get_source_groups=== | |
Cloning into '/home/matt/build/nupic/extensions/core'... | |
Note: checking out '48e4c912c9ee03b8a405c7130a52fb01ce6c6068'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -b with the checkout command again. Example: | |
git checkout -b new_branch_name | |
HEAD is now at 48e4c91... Merge pull request #153 from DavidRagazzi/patch-1 | |
-- Building 'nupic_core' library... | |
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:43 (MESSAGE): | |
Could not find compiler set in environment variable CXX: | |
CMAKE_CXX_COMPILER-NOTFOUND. | |
Call Stack (most recent call first): | |
CMakeLists.txt:207 (project) | |
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. | |
Missing variable is: | |
CMAKE_CXX_COMPILER_ENV_VAR | |
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. | |
Missing variable is: | |
CMAKE_CXX_COMPILER | |
CMake Error: Could not find cmake module file:/home/matt/build/nupic/extensions/core/build/scripts/CMakeFiles/CMakeCXXCompiler.cmake | |
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage | |
-- Configuring incomplete, errors occurred! | |
make: *** No targets specified and no makefile found. Stop. | |
CMake Error at CMakeLists.txt:321 (message): | |
Compiling 'nupic_core' library within /home/matt/build/nupic failed. | |
Call Stack (most recent call first): | |
CMakeLists.txt:784 (generate_submodule_library) | |
-- Configuring incomplete, errors occurred! | |
Unable to generate build scripts! | |
---------------------------------------- | |
Command /usr/bin/python -c "import setuptools;__file__='/home/matt/build/nupic/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-bLC53R-record/install-record.txt failed with error code 1 | |
Storing complete log in /home/matt/.pip/pip.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment