Skip to content

Instantly share code, notes, and snippets.

@rhyolight
Created October 3, 2016 18:14
Show Gist options
  • Save rhyolight/1dcf21845ce641363d795de94b4296c7 to your computer and use it in GitHub Desktop.
Save rhyolight/1dcf21845ce641363d795de94b4296c7 to your computer and use it in GitHub Desktop.
pip install nupic
Collecting nupic
Using cached nupic-0.5.5-py2-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): numpy==1.9.2 in /anaconda/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pytest-xdist==1.8 in /anaconda/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pytest==2.5.1 in /anaconda/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): DBUtils==1.1 in /anaconda/lib/python2.7/site-packages (from nupic)
Collecting pycapnp==0.5.8; platform_system == "Linux" or platform_system == "Darwin" (from nupic)
Using cached pycapnp-0.5.8.tar.gz
Collecting asteval==0.9.1 (from nupic)
Collecting mock==1.0.1 (from nupic)
Collecting nupic.bindings==0.4.5 (from nupic)
Using cached nupic.bindings-0.4.5-cp27-none-macosx_10_9_intel.whl
Collecting python-dateutil==2.1 (from nupic)
Collecting PyMySQL==0.6.2 (from nupic)
Using cached PyMySQL-0.6.2-py2.py3-none-any.whl
Collecting pytest-cov==1.6 (from nupic)
Collecting validictory==0.9.1 (from nupic)
Collecting coverage==3.7.1 (from nupic)
Collecting psutil==1.0.1 (from nupic)
Collecting prettytable==0.7.2 (from nupic)
Collecting PyYAML==3.10 (from nupic)
Collecting ordereddict==1.1 (from nupic)
Collecting unittest2==0.5.1 (from nupic)
Collecting pyproj==1.9.3 (from nupic)
Requirement already satisfied (use --upgrade to upgrade): execnet>=1.0.8 in /anaconda/lib/python2.7/site-packages (from pytest-xdist==1.8->nupic)
Requirement already satisfied (use --upgrade to upgrade): py>=1.4.19 in /anaconda/lib/python2.7/site-packages (from pytest==2.5.1->nupic)
Requirement already satisfied (use --upgrade to upgrade): six in /anaconda/lib/python2.7/site-packages (from python-dateutil==2.1->nupic)
Collecting cov-core>=1.6 (from pytest-cov==1.6->nupic)
Requirement already satisfied (use --upgrade to upgrade): apipkg>=1.4 in /anaconda/lib/python2.7/site-packages (from execnet>=1.0.8->pytest-xdist==1.8->nupic)
Building wheels for collected packages: pycapnp
Running setup.py bdist_wheel for pycapnp ... error
Complete output from command //anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpajLCxEpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-2.7
creating build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/c++.capnp -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/schema.capnp -> build/lib.macosx-10.6-x86_64-2.7/capnp
creating build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/helpers.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/non_circular.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/asyncHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/capabilityHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/checkCompiler.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/fixMaybe.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/rpcHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/serialize.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
creating build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/capnp_cpp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/schema_cpp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/types.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
creating build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/capnp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/__init__.py -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/pickle_helper.py -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/capnp.pyx -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
creating build/lib.macosx-10.6-x86_64-2.7/capnp/templates
copying capnp/templates/module.pyx -> build/lib.macosx-10.6-x86_64-2.7/capnp/templates
copying capnp/templates/setup.py.tmpl -> build/lib.macosx-10.6-x86_64-2.7/capnp/templates
running build_ext
creating var
creating var/folders
creating var/folders/qy
creating var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn
creating var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T
creating var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpXcpJZ_
cc -c /var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpXcpJZ_/vers.cpp -o var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpXcpJZ_/vers.o --std=c++11
/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpXcpJZ_/vers.cpp:4:10: fatal error: 'capnp/common.h' file not found
#include "capnp/common.h"
^
1 error generated.
*WARNING* no libcapnp detected. Will download and build it from source now. If you have C++ Cap'n Proto installed, it may be out of date or is not being detected. Downloading and building libcapnp may take a while.
fetching https://capnproto.org/capnproto-c++-0.5.2.tar.gz into /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/bundled
In file included from src/capnp/arena.c++:23:
src/capnp/arena.h:229:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/arena.h:313:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
2 warnings generated.
In file included from src/capnp/layout.c++:25:
src/capnp/arena.h:229:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/arena.h:313:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
In file included from src/capnp/message.c++:25:
src/capnp/arena.h:229:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/arena.h:313:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
2 warnings generated.
2 warnings generated.
In file included from src/capnp/schema-loader.c++:28:
src/capnp/arena.h:229:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/arena.h:313:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
2 warnings generated.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libkj.a(units.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libkj.a(units.o) has no symbols
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcapnp.a(list.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcapnp.a(list.o) has no symbols
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
In file included from src/capnp/capability.c++:26:
src/capnp/arena.h:229:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/arena.h:313:34: warning: 'extractCap' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<kj::Own<ClientHook>> extractCap(uint index);
^
src/capnp/arena.h:205:42: note: overridden virtual function is here
virtual kj::Maybe<kj::Own<ClientHook>> extractCap(uint index) = 0;
^
src/capnp/capability.c++:566:15: warning: 'getBrand' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
const void* getBrand() {
^
src/capnp/capability.h:348:23: note: overridden virtual function is here
virtual const void* getBrand() = 0;
^
src/capnp/capability.c++:590:26: warning: 'getResolved' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
kj::Maybe<ClientHook&> getResolved() {
^
src/capnp/capability.h:402:34: note: overridden virtual function is here
virtual kj::Maybe<ClientHook&> getResolved() = 0;
^
4 warnings generated.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/lib/libkj.a(units.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/lib/libcapnp.a(list.o) has no symbols
building 'capnp.lib.capnp' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/capnp
creating build/temp.macosx-10.6-x86_64-2.7/capnp/lib
gcc -fno-strict-aliasing -I//anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I//anaconda/include/python2.7 -I/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include -c capnp/lib/capnp.cpp -o build/temp.macosx-10.6-x86_64-2.7/capnp/lib/capnp.o --std=c++11
In file included from capnp/lib/capnp.cpp:301:
./capnp/helpers/checkCompiler.h:4:8: warning: "Your compiler supports C++11 but your C++ standard library does not. If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS)." [-W#warnings]
#warning "Your compiler supports C++11 but your C++ standard library does not. If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS)."
^
In file included from capnp/lib/capnp.cpp:301:
In file included from ./capnp/helpers/checkCompiler.h:9:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/dynamic.h:40:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/schema.h:33:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/schema.capnp.h:7:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/generated-header-support.h:31:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/layout.h:36:
/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/kj/common.h:54:8: warning: "Your compiler supports C++11 but your C++ standard library does not. If your " "system has libc++ installed (as should be the case on e.g. Mac OSX), try adding " "-stdlib=libc++ to your CXXFLAGS." [-W#warnings]
#warning "Your compiler supports C++11 but your C++ standard library does not. If your "\
^
/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/kj/common.h:78:10: fatal error: 'initializer_list' file not found
#include <initializer_list>
^
2 warnings and 1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for pycapnp
Running setup.py clean for pycapnp
Failed to build pycapnp
Installing collected packages: pycapnp, asteval, mock, coverage, cov-core, pytest-cov, nupic.bindings, python-dateutil, PyMySQL, validictory, psutil, prettytable, PyYAML, ordereddict, unittest2, pyproj, nupic
Running setup.py install for pycapnp ... error
Complete output from command //anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-rLd25M-record/install-record.txt --single-version-externally-managed --compile:
Compiling capnp/lib/capnp.pyx because it changed.
[1/1] Cythonizing capnp/lib/capnp.pyx
running install
running build
running build_py
creating build/lib.macosx-10.6-x86_64-2.7
creating build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/c++.capnp -> build/lib.macosx-10.6-x86_64-2.7/capnp
copying capnp/schema.capnp -> build/lib.macosx-10.6-x86_64-2.7/capnp
creating build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/helpers.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/non_circular.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/asyncHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/capabilityHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/checkCompiler.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/fixMaybe.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/rpcHelper.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
copying capnp/helpers/serialize.h -> build/lib.macosx-10.6-x86_64-2.7/capnp/helpers
creating build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/capnp_cpp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/schema_cpp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
copying capnp/includes/types.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/includes
creating build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/__init__.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/capnp.pxd -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/__init__.py -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/pickle_helper.py -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
copying capnp/lib/capnp.pyx -> build/lib.macosx-10.6-x86_64-2.7/capnp/lib
creating build/lib.macosx-10.6-x86_64-2.7/capnp/templates
copying capnp/templates/module.pyx -> build/lib.macosx-10.6-x86_64-2.7/capnp/templates
copying capnp/templates/setup.py.tmpl -> build/lib.macosx-10.6-x86_64-2.7/capnp/templates
running build_ext
creating var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpBIKBIJ
cc -c /var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpBIKBIJ/vers.cpp -o var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpBIKBIJ/vers.o --std=c++11
/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/tmpBIKBIJ/vers.cpp:4:10: fatal error: 'capnp/common.h' file not found
#include "capnp/common.h"
^
1 error generated.
*WARNING* no libcapnp detected. Will download and build it from source now. If you have C++ Cap'n Proto installed, it may be out of date or is not being detected. Downloading and building libcapnp may take a while.
already have /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/bundled/capnproto-c++
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/lib/libkj.a(units.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/lib/libcapnp.a(list.o) has no symbols
building 'capnp.lib.capnp' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/capnp
creating build/temp.macosx-10.6-x86_64-2.7/capnp/lib
gcc -fno-strict-aliasing -I//anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I//anaconda/include/python2.7 -I/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include -c capnp/lib/capnp.cpp -o build/temp.macosx-10.6-x86_64-2.7/capnp/lib/capnp.o --std=c++11
In file included from capnp/lib/capnp.cpp:301:
./capnp/helpers/checkCompiler.h:4:8: warning: "Your compiler supports C++11 but your C++ standard library does not. If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS)." [-W#warnings]
#warning "Your compiler supports C++11 but your C++ standard library does not. If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS)."
^
In file included from capnp/lib/capnp.cpp:301:
In file included from ./capnp/helpers/checkCompiler.h:9:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/dynamic.h:40:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/schema.h:33:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/schema.capnp.h:7:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/generated-header-support.h:31:
In file included from /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/capnp/layout.h:36:
/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/kj/common.h:54:8: warning: "Your compiler supports C++11 but your C++ standard library does not. If your " "system has libc++ installed (as should be the case on e.g. Mac OSX), try adding " "-stdlib=libc++ to your CXXFLAGS." [-W#warnings]
#warning "Your compiler supports C++11 but your C++ standard library does not. If your "\
^
/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/build/include/kj/common.h:78:10: fatal error: 'initializer_list' file not found
#include <initializer_list>
^
2 warnings and 1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "//anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-rLd25M-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/qy/mvs3fr_50wx7drq3gm9_8lrc0000gn/T/pip-build-JlF0n9/pycapnp/
@mishmetall
Copy link

If someone will encounter same problem, before installing nupic, install pycapnp from source:

git clone https://github.com/jparyani/pycapnp.git
cd pycapnp  
git checkout v0.5.12  
pip install . 

@bartwalczak
Copy link

It still fails to compile on OS X 10.13, Clang 9.0 regardless of CFLAGS used or MACOSX_DEPLOYMENT_TARGET set:

Processing /Users/bart/Documents/open-source/pycapnp/pycapnp
Installing collected packages: pycapnp
  Found existing installation: pycapnp 0.6.0
    Uninstalling pycapnp-0.6.0:
      Successfully uninstalled pycapnp-0.6.0
  Running setup.py install for pycapnp ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/pip-6YXsNc-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/pip-9sxuBn-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-2.7
    creating build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/version.py -> build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/__init__.py -> build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/_gen.py -> build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/__init__.pxd -> build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/schema.capnp -> build/lib.macosx-10.6-intel-2.7/capnp
    copying capnp/c++.capnp -> build/lib.macosx-10.6-intel-2.7/capnp
    creating build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/helpers.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/non_circular.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/__init__.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/rpcHelper.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/fixMaybe.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/capabilityHelper.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/asyncHelper.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/checkCompiler.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    copying capnp/helpers/serialize.h -> build/lib.macosx-10.6-intel-2.7/capnp/helpers
    creating build/lib.macosx-10.6-intel-2.7/capnp/includes
    copying capnp/includes/types.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/includes
    copying capnp/includes/__init__.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/includes
    copying capnp/includes/schema_cpp.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/includes
    copying capnp/includes/capnp_cpp.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/includes
    creating build/lib.macosx-10.6-intel-2.7/capnp/lib
    copying capnp/lib/capnp.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/lib
    copying capnp/lib/__init__.pxd -> build/lib.macosx-10.6-intel-2.7/capnp/lib
    copying capnp/lib/__init__.py -> build/lib.macosx-10.6-intel-2.7/capnp/lib
    copying capnp/lib/pickle_helper.py -> build/lib.macosx-10.6-intel-2.7/capnp/lib
    copying capnp/lib/capnp.pyx -> build/lib.macosx-10.6-intel-2.7/capnp/lib
    creating build/lib.macosx-10.6-intel-2.7/capnp/templates
    copying capnp/templates/setup.py.tmpl -> build/lib.macosx-10.6-intel-2.7/capnp/templates
    copying capnp/templates/module.pyx -> build/lib.macosx-10.6-intel-2.7/capnp/templates
    running build_ext
    creating var
    creating var/folders
    creating var/folders/7v
    creating var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn
    creating var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T
    creating var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/tmpIvZgZH
    /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -c /var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/tmpIvZgZH/vers.cpp -o var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/tmpIvZgZH/vers.o --std=c++11
    /usr/bin/clang -undefined dynamic_lookup var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/tmpIvZgZH/vers.o -o /var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/tmpIvZgZH/vers
    building 'capnp.lib.capnp' extension
    creating build/temp.macosx-10.6-intel-2.7
    creating build/temp.macosx-10.6-intel-2.7/capnp
    creating build/temp.macosx-10.6-intel-2.7/capnp/lib
    /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -stdlib=libc++ -I. -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c capnp/lib/capnp.cpp -o build/temp.macosx-10.6-intel-2.7/capnp/lib/capnp.o --std=c++11
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:42:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
        return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
                      ^
    /usr/local/include/capnp/rpc.h:102:7: note: 'restore' has been explicitly marked deprecated here
          KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
          ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:49:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
        return client.restore(hostId, objectId.getRoot<capnp::AnyPointer>());
                      ^
    /usr/local/include/capnp/rpc.h:102:7: note: 'restore' has been explicitly marked deprecated here
          KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
          ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:56:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
        return client.restore(hostId, objectId);
                      ^
    /usr/local/include/capnp/rpc.h:102:7: note: 'restore' has been explicitly marked deprecated here
          KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
          ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:63:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
        return client.restore(hostId, objectId);
                      ^
    /usr/local/include/capnp/rpc.h:102:7: note: 'restore' has been explicitly marked deprecated here
          KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
          ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:73:19: warning: 'restore' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
        return client.restore(hostId, objectId);
                      ^
    /usr/local/include/capnp/rpc.h:102:7: note: 'restore' has been explicitly marked deprecated here
          KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
          ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    In file included from capnp/lib/capnp.cpp:576:
    ./capnp/helpers/rpcHelper.h:107:19: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
            rpcSystem(makeRpcServer(network, restorer)) {}
                      ^
    /usr/local/include/capnp/rpc.h:199:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
        KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
        ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    capnp/lib/capnp.cpp:35831:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
        __pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new  ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1491, __pyx_L1_error)
                                                                                                                                                                                                                                                                                                         ^
    capnp/lib/capnp.cpp:35831:294: note: remove std::move call here
        __pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new  ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1491, __pyx_L1_error)
                                                                                                                                                                                                                                                                                                         ^~~~~~~~~~                                                                                                              ~
    capnp/lib/capnp.cpp:40234:53: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
      __pyx_v_self->thisptr = new  ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
                                                        ^
    capnp/lib/capnp.cpp:40234:53: note: remove std::move call here
      __pyx_v_self->thisptr = new  ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
                                                        ^~~~~~~~~~                     ~
    capnp/lib/capnp.cpp:40926:259: error: no matching conversion for functional-style cast from 'int64_t' (aka 'long long') to '::kj::Duration' (aka 'Quantity<long long, kj::_::NanosecondLabel>')
      __pyx_t_2 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__VoidPromise *)((struct __pyx_obj_5capnp_3lib_5capnp__VoidPromise *)__pyx_t_1)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__VoidPromise *)__pyx_t_1), __pyx_v_self->thisptr->afterDelay( ::kj::Duration(__pyx_t_6)), NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1691, __pyx_L1_error)
                                                                                                                                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/kj/units.h:198:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int64_t' (aka 'long long') to 'const kj::Quantity<long long, kj::_::NanosecondLabel>' for 1st argument
    class Quantity {
          ^
    /usr/local/include/kj/units.h:198:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int64_t' (aka 'long long') to 'kj::Quantity<long long, kj::_::NanosecondLabel>' for 1st argument
    /usr/local/include/kj/units.h:247:20: note: candidate constructor not viable: no known conversion from 'int64_t' (aka 'long long') to 'kj::MaxValue_' for 1st argument
      inline constexpr Quantity(MaxValue_): value(maxValue) {}
                       ^
    /usr/local/include/kj/units.h:248:20: note: candidate constructor not viable: no known conversion from 'int64_t' (aka 'long long') to 'kj::MinValue_' for 1st argument
      inline constexpr Quantity(MinValue_): value(minValue) {}
                       ^
    /usr/local/include/kj/units.h:259:20: note: candidate template ignored: could not match 'Quantity<type-parameter-0-0, kj::_::NanosecondLabel>' against 'long long'
      inline constexpr Quantity(const Quantity<OtherNumber, Unit>& other)
                       ^
    /usr/local/include/kj/units.h:245:20: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
      inline constexpr Quantity() = default;
                       ^
    /usr/local/include/kj/units.h:254:20: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
      inline constexpr Quantity(Number value, decltype(unsafe)): value(value) {}
                       ^
    capnp/lib/capnp.cpp:48036:294: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
        __pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new  ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1973, __pyx_L1_error)
                                                                                                                                                                                                                                                                                                         ^
    capnp/lib/capnp.cpp:48036:294: note: remove std::move call here
        __pyx_t_1 = ((struct __pyx_vtabstruct_5capnp_3lib_5capnp__DynamicStructPipeline *)((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3)->__pyx_vtab)->_init(((struct __pyx_obj_5capnp_3lib_5capnp__DynamicStructPipeline *)__pyx_t_3), new  ::capnp::DynamicStruct::Pipeline(std::move((( ::capnp::DynamicValue::Pipeline)__pyx_v_self->thisptr->get(__pyx_t_6)).releaseAs< ::capnp::DynamicStruct>())), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1973, __pyx_L1_error)
                                                                                                                                                                                                                                                                                                         ^~~~~~~~~~                                                                                                              ~
    capnp/lib/capnp.cpp:59189:104: warning: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' is deprecated: Please transition to using a bootstrap interface instead. [-Wdeprecated-declarations]
          __pyx_v_self->thisptr = new  ::capnp::RpcSystem<capnp::rpc::twoparty::SturdyRefHostId>( ::capnp::makeRpcServer((*__pyx_v_self->_network->thisptr), (*__pyx_v_self->_restorer->thisptr)));
                                                                                                           ^
    /usr/local/include/capnp/rpc.h:199:5: note: 'makeRpcServer<capnp::rpc::twoparty::VatId, capnp::AnyPointer, capnp::rpc::twoparty::ProvisionId, capnp::rpc::twoparty::RecipientId, capnp::rpc::twoparty::ThirdPartyCapId, capnp::rpc::twoparty::JoinResult>' has been explicitly marked deprecated here
        KJ_DEPRECATED("Please transition to using a bootstrap interface instead.");
        ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    capnp/lib/capnp.cpp:63075:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
        __pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
                                          ^
    /usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
      Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
                                              ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    capnp/lib/capnp.cpp:64889:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
        __pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
                                          ^
    /usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
      Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
                                              ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    capnp/lib/capnp.cpp:67552:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
        __pyx_t_7 = __pyx_v_self->thisptr.getDependency(__pyx_t_6);
                                          ^
    /usr/local/include/capnp/schema.h:85:43: note: 'getDependency' has been explicitly marked deprecated here
      Schema getDependency(uint64_t id) const KJ_DEPRECATED("Does not handle generics correctly.");
                                              ^
    /usr/local/include/kj/common.h:192:20: note: expanded from macro 'KJ_DEPRECATED'
        __attribute__((deprecated(reason)))
                       ^
    capnp/lib/capnp.cpp:520:5: warning: destructor called on non-final 'ErrorHandler' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
        x.~T();
        ^
    capnp/lib/capnp.cpp:97037:3: note: in instantiation of function template specialization '__Pyx_call_destructor<ErrorHandler>' requested here
      __Pyx_call_destructor(p->_error_handler);
      ^
    capnp/lib/capnp.cpp:520:8: note: qualify call to silence this warning
        x.~T();
           ^
           ErrorHandler::
    14 warnings and 1 error generated.
    error: command '/usr/bin/clang' failed with exit status 1
    
    ----------------------------------------
  Rolling back uninstall of pycapnp
Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/pip-6YXsNc-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/pip-9sxuBn-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/7v/x68mgp4j26v1fc1n46z0z0jw0000gn/T/pip-6YXsNc-build/

@himanshuchaubey01
Copy link

I am also facing the same error while installing nupic. Can someone please help with some solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment