Dear all,

I am struggling to install nupic for the first time via the comand pip
install nupic. The issue seems to be when installing pycapnp. I have also
tried pip install pycapnp however a similar issue occurred. Can someone
help me with this?

Regards

Richard

Terminal output:

Collecting nupic

  Using cached nupic-0.3.3-py2-none-any.whl

Requirement already satisfied (use --upgrade to upgrade): pytest-cov==1.6
in /usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): numpy==1.9.2 in
/usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): asteval==0.9.1 in
/usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade):
prettytable==0.7.2 in /usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): pytest==2.5.1 in
/usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): psutil==1.0.1 in
/usr/local/lib/python2.7/site-packages (from nupic)

Collecting pycapnp==0.5.5 (from nupic)

  Using cached pycapnp-0.5.5.tar.gz

Collecting PyYAML==3.10 (from nupic)

  Using cached PyYAML-3.10.tar.gz

Collecting pytest-xdist==1.8 (from nupic)

  Using cached pytest-xdist-1.8.zip

Collecting unittest2==0.5.1 (from nupic)

  Using cached unittest2-0.5.1.tar.gz

Collecting pyproj==1.9.3 (from nupic)

  Using cached pyproj-1.9.3.tar.gz

Collecting DBUtils==1.1 (from nupic)

  Using cached DBUtils-1.1.tar.gz

Collecting python-dateutil==2.1 (from nupic)

  Using cached python-dateutil-2.1.tar.gz

Collecting pillow==2.3.0 (from nupic)

  Using cached Pillow-2.3.0.zip

Collecting nupic.bindings==0.2.1 (from nupic)

  Using cached nupic.bindings-0.2.1-cp27-none-macosx_10_9_intel.whl

Collecting validictory==0.9.1 (from nupic)

  Using cached validictory-0.9.1.tar.gz

Collecting ordereddict==1.1 (from nupic)

  Using cached ordereddict-1.1.tar.gz

Collecting PyMySQL==0.6.2 (from nupic)

  Using cached PyMySQL-0.6.2-py2.py3-none-any.whl

Requirement already satisfied (use --upgrade to upgrade): coverage==3.7.1
in /usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): mock==1.0.1 in
/usr/local/lib/python2.7/site-packages (from nupic)

Requirement already satisfied (use --upgrade to upgrade): cov-core>=1.6 in
/usr/local/lib/python2.7/site-packages (from pytest-cov==1.6->nupic)

Requirement already satisfied (use --upgrade to upgrade): py>=1.4.19 in
/usr/local/lib/python2.7/site-packages (from pytest==2.5.1->nupic)

Collecting execnet>=1.0.8 (from pytest-xdist==1.8->nupic)

  Using cached execnet-1.4.1-py2.py3-none-any.whl

Requirement already satisfied (use --upgrade to upgrade): six in
/usr/local/lib/python2.7/site-packages (from python-dateutil==2.1->nupic)

Collecting apipkg>=1.4 (from execnet>=1.0.8->pytest-xdist==1.8->nupic)

  Using cached apipkg-1.4-py2.py3-none-any.whl

Installing collected packages: pycapnp, PyYAML, apipkg, execnet,
pytest-xdist, unittest2, pyproj, DBUtils, python-dateutil, pillow,
nupic.bindings, validictory, ordereddict, PyMySQL, nupic

  Running setup.py install for pycapnp

    Complete output from command /usr/local/opt/python/bin/python2.7 -c
"import setuptools,
tokenize;__file__='/private/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-build-sPmThM/pycapnp/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-PBy9E3-record/install-record.txt
--single-version-externally-managed --compile:

    running install

    running build

    running build_py

    creating build

    creating build/lib.macosx-10.10-x86_64-2.7

    creating build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/_gen.py -> build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/version.py -> build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/__init__.pxd -> build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/c++.capnp -> build/lib.macosx-10.10-x86_64-2.7/capnp

    copying capnp/schema.capnp -> build/lib.macosx-10.10-x86_64-2.7/capnp

    creating build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/__init__.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/helpers.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/non_circular.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/asyncHelper.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/capabilityHelper.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/checkCompiler.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/fixMaybe.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/rpcHelper.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    copying capnp/helpers/serialize.h ->
build/lib.macosx-10.10-x86_64-2.7/capnp/helpers

    creating build/lib.macosx-10.10-x86_64-2.7/capnp/includes

    copying capnp/includes/__init__.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/includes

    copying capnp/includes/capnp_cpp.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/includes

    copying capnp/includes/schema_cpp.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/includes

    copying capnp/includes/types.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/includes

    creating build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    copying capnp/lib/__init__.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    copying capnp/lib/capnp.pxd ->
build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    copying capnp/lib/__init__.py ->
build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    copying capnp/lib/pickle_helper.py ->
build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    copying capnp/lib/capnp.pyx ->
build/lib.macosx-10.10-x86_64-2.7/capnp/lib

    creating build/lib.macosx-10.10-x86_64-2.7/capnp/templates

    copying capnp/templates/module.pyx ->
build/lib.macosx-10.10-x86_64-2.7/capnp/templates

    copying capnp/templates/setup.py.tmpl ->
build/lib.macosx-10.10-x86_64-2.7/capnp/templates

    running build_ext

    creating var

    creating var/folders

    creating var/folders/kc

    creating var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn

    creating var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T

    creating var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/tmp3xgs8z

    cc -c
/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/tmp3xgs8z/vers.cpp -o
var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/tmp3xgs8z/vers.o --std=c++11


/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/tmp3xgs8z/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.1.2.tar.gz into
/private/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-build-sPmThM/pycapnp/bundled

    error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed (_ssl.c:590)>



    ----------------------------------------

Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools,
tokenize;__file__='/private/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-build-sPmThM/pycapnp/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record
/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-PBy9E3-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/private/var/folders/kc/8x7rh0zn2fsc9fzyd6p1tmg80000gn/T/pip-build-sPmThM/pycapnp

Reply via email to