Hi,
I am getting below error. I have installed Command Line Tools(macOS 10.13 ) for Xcode 9.3 but still I am getting this error. Please let me know how to resolve this error
pip install nupic
Collecting nupic
Using cached https://files.pythonhosted.org/packages/b3/90/a124a97a89c1f66e6c563ea4854a8418e1c67ee59e32f18f80e26fdff76b/nupic-1.0.4-py2-none-any.whl
Requirement already satisfied: psutil==1.0.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (1.0.1)
Requirement already satisfied: DBUtils==1.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (1.1)
Requirement already satisfied: PyYAML==3.10 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (3.10)
Requirement already satisfied: python-dateutil==2.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (2.1)
Requirement already satisfied: pytest-cov==2.5.0 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (2.5.0)
Requirement already satisfied: numpy==1.12.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (1.12.1)
Requirement already satisfied: asteval==0.9.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (0.9.1)
Requirement already satisfied: coverage==3.7.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (3.7.1)
Requirement already satisfied: pytest-xdist==1.16.0 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (1.16.0)
Requirement already satisfied: unittest2==0.5.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (0.5.1)
Requirement already satisfied: prettytable==0.7.2 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (0.7.2)
Requirement already satisfied: validictory==0.9.1 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (0.9.1)
Collecting pycapnp==0.5.12; platform_system == "Linux" or platform_system == "Darwin" (from nupic)
Using cached https://files.pythonhosted.org/packages/65/e7/1a8ed69452f0d4e429dba21513e8801b5b6910707f67a38a02f5571a7292/pycapnp-0.5.12.tar.gz
Requirement already satisfied: pytest==3.0.7 in ./Library/Python/2.7/lib/python/site-packages (from nupic) (3.0.7)
Collecting pyproj==1.9.3 (from nupic)
Collecting PyMySQL==0.6.2 (from nupic)
Using cached https://files.pythonhosted.org/packages/04/65/c84eee72dcbf19d8050cf65157a15f68e0989620a00bf0b2a55a1a20b4cd/PyMySQL-0.6.2-py2.py3-none-any.whl
Collecting ordereddict==1.1 (from nupic)
Collecting mock==1.0.1 (from nupic)
Collecting nupic.bindings==1.0.4 (from nupic)
Using cached https://files.pythonhosted.org/packages/76/00/504aaab856772bc1a85a38cd457c34459f4691f59d5ca8b2089a7963747f/nupic.bindings-1.0.4-cp27-cp27m-macosx_10_11_intel.whl
Requirement already satisfied: six in ./Library/Python/2.7/lib/python/site-packages (from python-dateutil==2.1->nupic) (1.11.0)
Requirement already satisfied: execnet>=1.1 in ./Library/Python/2.7/lib/python/site-packages (from pytest-xdist==1.16.0->nupic) (1.5.0)
Requirement already satisfied: py>=1.4.22 in ./Library/Python/2.7/lib/python/site-packages (from pytest-xdist==1.16.0->nupic) (1.5.3)
Requirement already satisfied: setuptools in /Library/Python/2.7/site-packages/setuptools-39.2.0-py2.7.egg (from pytest==3.0.7->nupic) (39.2.0)
Requirement already satisfied: apipkg>=1.4 in ./Library/Python/2.7/lib/python/site-packages (from execnet>=1.1->pytest-xdist==1.16.0->nupic) (1.4)
Building wheels for collected packages: pycapnp
Running setup.py bdist_wheel for pycapnp ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-install-VrK9ZQ/pycapnp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-wheel-njnw3N --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.13-intel-2.7
creating build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.13-intel-2.7/capnp
running build_ext
creating var
creating var/folders
creating var/folders/k6
creating var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn
creating var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T
creating var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/tmpBEyZ48
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -c /var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/tmpBEyZ48/vers.cpp -o var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/tmpBEyZ48/vers.o --std=c++11
cc -undefined dynamic_lookup var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/tmpBEyZ48/vers.o -o /var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/tmpBEyZ48/vers
building 'capnp.lib.capnp' extension
creating build/temp.macosx-10.13-intel-2.7
creating build/temp.macosx-10.13-intel-2.7/capnp
creating build/temp.macosx-10.13-intel-2.7/capnp/lib
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I. -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c capnp/lib/capnp.cpp -o build/temp.macosx-10.13-intel-2.7/capnp/lib/capnp.o --std=c++11
In file included from capnp/lib/capnp.cpp:285:
./capnp/helpers/capabilityHelper.h:94:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int line = PyInt_AsLong(py_line);
~~~~ ^~~~~~~~~~~~~~~~~~~~~
In file included from capnp/lib/capnp.cpp:286:
./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>());
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:41916: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_filename = __pyx_f[0]; __pyx_lineno = 1973; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^
capnp/lib/capnp.cpp:41916: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_filename = __pyx_f[0]; __pyx_lineno = 1973; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:51507: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:54874:39: warning: 'getDependency' is deprecated: Does not handle generics correctly. [-Wdeprecated-declarations]
__pyx_t_8 = __pyx_v_self->thisptr.getDependency(__pyx_t_7);
^
/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:246: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:81903:3: note: in instantiation of function template specialization '__Pyx_call_destructor<ErrorHandler>' requested here
__Pyx_call_destructor(&p->_error_handler);
^
capnp/lib/capnp.cpp:246:9: note: qualify call to silence this warning
x->~T();
^
ErrorHandler::
23 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Failed building wheel for pycapnp
Running setup.py clean for pycapnp
Failed to build pycapnp
Installing collected packages: pycapnp, pyproj, PyMySQL, ordereddict, mock, nupic.bindings, nupic
Running setup.py install for pycapnp ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-install-VrK9ZQ/pycapnp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-record-_nJKGb/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
creating build/lib.macosx-10.13-intel-2.7
creating build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/version.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/_gen.py -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/__init__.pxd -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/schema.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
copying capnp/c++.capnp -> build/lib.macosx-10.13-intel-2.7/capnp
creating build/lib.macosx-10.13-intel-2.7/capnp/helpers
In file included from capnp/lib/capnp.cpp:618:
./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:618:
./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:618:
./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:618:
./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:618:
./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:618:
./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:12287:39: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_7 = __pyx_v_self->thisptr[__pyx_v_index];
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:14826:39: warning: implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_7 = __pyx_v_self->thisptr[__pyx_v_index];
~~~~~~~~~~~~ ^~~~~~~~~~~~~
capnp/lib/capnp.cpp:18793:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:18847:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:19740:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:19794:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:20697:53: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_12 = __pyx_v_thisptr.init(__pyx_t_10, __pyx_t_11);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:21592:52: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'capnp::uint' (aka 'unsigned int') [-Wshorten-64-to-32]
__pyx_t_11 = __pyx_v_thisptr.init(__pyx_t_7, __pyx_t_10);
~~~~ ^~~~~~~~~~
capnp/lib/capnp.cpp:35780: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:35780: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:40181: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:40181:53: note: remove std::move call here
__pyx_v_self->thisptr = new ::kj::AsyncIoContext(std::move( ::kj::setupAsyncIo()));
^~~~~~~~~~ ~
capnp/lib/capnp.cpp:40873: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:47983: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:47983: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:59090: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:62976: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:64806: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:67480: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:315: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:96909:3: note: in instantiation of function template specialization '__Pyx_call_destructor<ErrorHandler>' requested here
__Pyx_call_destructor(p->_error_handler);
^
capnp/lib/capnp.cpp:315:8: note: qualify call to silence this warning
x.~T();
^
ErrorHandler::
23 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-install-VrK9ZQ/pycapnp/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-record-_nJKGb/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/k6/2xs6s37572v_1vh7y91ppgqw0000gn/T/pip-install-VrK9ZQ/pycapnp/
Regards,
Rajesh