cannot install blpapi in macOS












1















I have just tried to install blpapi into my MacBook and I have the below error. I have installed the C++ SDK and export both BLPAPI_ROOT and DYLD_LIBRARY_PATH to the right directory. It generates errors like




error: use of undeclared identifier 'blpapi_SessionOptions_print'




Does anyone know or have encountered this issue before?



export BLPAPI_ROOT=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1
export DYLD_LIBRARY_PATH=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1/Darwin

copying blpapi/datetime.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
copying blpapi/identity.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
copying blpapi/topiclist.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
copying blpapi/schema.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
running build_ext
building 'blpapi._internals' extension
creating build/temp.macosx-10.6-x86_64-2.7
creating build/temp.macosx-10.6-x86_64-2.7/blpapi
gcc -fno-strict-aliasing -I/anaconda3/envs/py2.7/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include -I/anaconda3/envs/py2.7/include/python2.7 -c blpapi/internals_wrap.cxx -o build/temp.macosx-10.6-x86_64-2.7/blpapi/internals_wrap.o
blpapi/internals_wrap.cxx:3346:5: error: use of undeclared identifier 'blpapi_SessionOptions_print'
blpapi_SessionOptions_print(
^
blpapi/internals_wrap.cxx:3473:62: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
PyObject* result = PyObject_CallFunction(loggerCallback, "KiIss",
^
blpapi/internals_wrap.cxx:4562:11: error: use of undeclared identifier 'blpapi_ProviderSession_terminateSubscriptionsOnTopics'
res = blpapi_ProviderSession_terminateSubscriptionsOnTopics(sessionHandle, &topic, 1, message);
^
blpapi/internals_wrap.cxx:4570:14: error: use of undeclared identifier 'blpapi_ProviderSession_flushPublishedEvents'
int rc = blpapi_ProviderSession_flushPublishedEvents(
^
blpapi/internals_wrap.cxx:9741:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessage'
result = (int)blpapi_EventFormatter_appendFragmentedRecapMessage(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,(blpapi_CorrelationId_t_ const *)arg5,arg6);
^
blpapi/internals_wrap.cxx:9831:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessageSeq'
result = (int)blpapi_EventFormatter_appendFragmentedRecapMessageSeq(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,arg5,arg6);
^
blpapi/internals_wrap.cxx:12598:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceCheckTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceCheckTimeout'?
result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_wrap_blpapi_SessionOptions_setServiceCheckTimeout
blpapi/internals_wrap.cxx:12571:22: note: '_wrap_blpapi_SessionOptions_setServiceCheckTimeout' declared here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:12598:66: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
^~~~
blpapi/internals_wrap.cxx:12571:103: note: passing argument to parameter here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:12649:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceDownloadTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout'?
result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_wrap_blpapi_SessionOptions_setServiceDownloadTimeout
blpapi/internals_wrap.cxx:12622:22: note: '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout' declared here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:12649:69: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
^~~~
blpapi/internals_wrap.cxx:12622:106: note: passing argument to parameter here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:12676:3: error: unknown type name 'blpapi_TlsOptions_t'
blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
^
blpapi/internals_wrap.cxx:12676:32: error: use of undeclared identifier 'blpapi_TlsOptions_t'
blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
^
blpapi/internals_wrap.cxx:12676:53: error: expected expression
blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
^
blpapi/internals_wrap.cxx:12694:28: error: unknown type name 'blpapi_TlsOptions_t'
arg2 = reinterpret_cast< blpapi_TlsOptions_t * >(argp2);
^
blpapi/internals_wrap.cxx:12699:49: error: use of undeclared identifier 'blpapi_TlsOptions'
blpapi_SessionOptions_setTlsOptions(arg1,(blpapi_TlsOptions const *)arg2);
^
blpapi/internals_wrap.cxx:12750:21: error: use of undeclared identifier 'blpapi_SessionOptions_setFlushPublishedEventsTimeout'; did you mean '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout'?
result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout
blpapi/internals_wrap.cxx:12723:22: note: '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout' declared here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:12750:74: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
^~~~
blpapi/internals_wrap.cxx:12723:111: note: passing argument to parameter here
SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
^
blpapi/internals_wrap.cxx:13693:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceCheckTimeout'; did you mean 'blpapi_SessionOptions_connectTimeout'?
result = (int)blpapi_SessionOptions_serviceCheckTimeout(arg1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blpapi_SessionOptions_connectTimeout
/Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include/blpapi_sessionoptions.h:214:14: note: 'blpapi_SessionOptions_connectTimeout' declared here
unsigned int blpapi_SessionOptions_connectTimeout(
^
blpapi/internals_wrap.cxx:13735:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceDownloadTimeout'
result = (int)blpapi_SessionOptions_serviceDownloadTimeout(arg1);
^
blpapi/internals_wrap.cxx:13777:21: error: use of undeclared identifier 'blpapi_SessionOptions_flushPublishedEventsTimeout'
result = (int)blpapi_SessionOptions_flushPublishedEventsTimeout(arg1);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
error: command 'gcc' failed with exit status 1

----------------------------------------
Failed building wheel for blpapi
Running setup.py clean for blpapi
Failed to build blpapi
Installing collected packages: blpapi
Running setup.py install for blpapi ... error
Complete output from command /anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile:

fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
error: command 'gcc' failed with exit status 1

----------------------------------------
Command "/anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/









share|improve this question





























    1















    I have just tried to install blpapi into my MacBook and I have the below error. I have installed the C++ SDK and export both BLPAPI_ROOT and DYLD_LIBRARY_PATH to the right directory. It generates errors like




    error: use of undeclared identifier 'blpapi_SessionOptions_print'




    Does anyone know or have encountered this issue before?



    export BLPAPI_ROOT=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1
    export DYLD_LIBRARY_PATH=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1/Darwin

    copying blpapi/datetime.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
    copying blpapi/identity.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
    copying blpapi/topiclist.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
    copying blpapi/schema.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
    running build_ext
    building 'blpapi._internals' extension
    creating build/temp.macosx-10.6-x86_64-2.7
    creating build/temp.macosx-10.6-x86_64-2.7/blpapi
    gcc -fno-strict-aliasing -I/anaconda3/envs/py2.7/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include -I/anaconda3/envs/py2.7/include/python2.7 -c blpapi/internals_wrap.cxx -o build/temp.macosx-10.6-x86_64-2.7/blpapi/internals_wrap.o
    blpapi/internals_wrap.cxx:3346:5: error: use of undeclared identifier 'blpapi_SessionOptions_print'
    blpapi_SessionOptions_print(
    ^
    blpapi/internals_wrap.cxx:3473:62: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    PyObject* result = PyObject_CallFunction(loggerCallback, "KiIss",
    ^
    blpapi/internals_wrap.cxx:4562:11: error: use of undeclared identifier 'blpapi_ProviderSession_terminateSubscriptionsOnTopics'
    res = blpapi_ProviderSession_terminateSubscriptionsOnTopics(sessionHandle, &topic, 1, message);
    ^
    blpapi/internals_wrap.cxx:4570:14: error: use of undeclared identifier 'blpapi_ProviderSession_flushPublishedEvents'
    int rc = blpapi_ProviderSession_flushPublishedEvents(
    ^
    blpapi/internals_wrap.cxx:9741:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessage'
    result = (int)blpapi_EventFormatter_appendFragmentedRecapMessage(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,(blpapi_CorrelationId_t_ const *)arg5,arg6);
    ^
    blpapi/internals_wrap.cxx:9831:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessageSeq'
    result = (int)blpapi_EventFormatter_appendFragmentedRecapMessageSeq(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,arg5,arg6);
    ^
    blpapi/internals_wrap.cxx:12598:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceCheckTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceCheckTimeout'?
    result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _wrap_blpapi_SessionOptions_setServiceCheckTimeout
    blpapi/internals_wrap.cxx:12571:22: note: '_wrap_blpapi_SessionOptions_setServiceCheckTimeout' declared here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:12598:66: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
    result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
    ^~~~
    blpapi/internals_wrap.cxx:12571:103: note: passing argument to parameter here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:12649:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceDownloadTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout'?
    result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _wrap_blpapi_SessionOptions_setServiceDownloadTimeout
    blpapi/internals_wrap.cxx:12622:22: note: '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout' declared here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:12649:69: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
    result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
    ^~~~
    blpapi/internals_wrap.cxx:12622:106: note: passing argument to parameter here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:12676:3: error: unknown type name 'blpapi_TlsOptions_t'
    blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
    ^
    blpapi/internals_wrap.cxx:12676:32: error: use of undeclared identifier 'blpapi_TlsOptions_t'
    blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
    ^
    blpapi/internals_wrap.cxx:12676:53: error: expected expression
    blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
    ^
    blpapi/internals_wrap.cxx:12694:28: error: unknown type name 'blpapi_TlsOptions_t'
    arg2 = reinterpret_cast< blpapi_TlsOptions_t * >(argp2);
    ^
    blpapi/internals_wrap.cxx:12699:49: error: use of undeclared identifier 'blpapi_TlsOptions'
    blpapi_SessionOptions_setTlsOptions(arg1,(blpapi_TlsOptions const *)arg2);
    ^
    blpapi/internals_wrap.cxx:12750:21: error: use of undeclared identifier 'blpapi_SessionOptions_setFlushPublishedEventsTimeout'; did you mean '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout'?
    result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout
    blpapi/internals_wrap.cxx:12723:22: note: '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout' declared here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:12750:74: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
    result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
    ^~~~
    blpapi/internals_wrap.cxx:12723:111: note: passing argument to parameter here
    SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    ^
    blpapi/internals_wrap.cxx:13693:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceCheckTimeout'; did you mean 'blpapi_SessionOptions_connectTimeout'?
    result = (int)blpapi_SessionOptions_serviceCheckTimeout(arg1);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    blpapi_SessionOptions_connectTimeout
    /Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include/blpapi_sessionoptions.h:214:14: note: 'blpapi_SessionOptions_connectTimeout' declared here
    unsigned int blpapi_SessionOptions_connectTimeout(
    ^
    blpapi/internals_wrap.cxx:13735:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceDownloadTimeout'
    result = (int)blpapi_SessionOptions_serviceDownloadTimeout(arg1);
    ^
    blpapi/internals_wrap.cxx:13777:21: error: use of undeclared identifier 'blpapi_SessionOptions_flushPublishedEventsTimeout'
    result = (int)blpapi_SessionOptions_flushPublishedEventsTimeout(arg1);
    ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    1 warning and 20 errors generated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
    Failed building wheel for blpapi
    Running setup.py clean for blpapi
    Failed to build blpapi
    Installing collected packages: blpapi
    Running setup.py install for blpapi ... error
    Complete output from command /anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile:

    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    1 warning and 20 errors generated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
    Command "/anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/









    share|improve this question



























      1












      1








      1








      I have just tried to install blpapi into my MacBook and I have the below error. I have installed the C++ SDK and export both BLPAPI_ROOT and DYLD_LIBRARY_PATH to the right directory. It generates errors like




      error: use of undeclared identifier 'blpapi_SessionOptions_print'




      Does anyone know or have encountered this issue before?



      export BLPAPI_ROOT=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1
      export DYLD_LIBRARY_PATH=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1/Darwin

      copying blpapi/datetime.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/identity.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/topiclist.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/schema.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      running build_ext
      building 'blpapi._internals' extension
      creating build/temp.macosx-10.6-x86_64-2.7
      creating build/temp.macosx-10.6-x86_64-2.7/blpapi
      gcc -fno-strict-aliasing -I/anaconda3/envs/py2.7/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include -I/anaconda3/envs/py2.7/include/python2.7 -c blpapi/internals_wrap.cxx -o build/temp.macosx-10.6-x86_64-2.7/blpapi/internals_wrap.o
      blpapi/internals_wrap.cxx:3346:5: error: use of undeclared identifier 'blpapi_SessionOptions_print'
      blpapi_SessionOptions_print(
      ^
      blpapi/internals_wrap.cxx:3473:62: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      PyObject* result = PyObject_CallFunction(loggerCallback, "KiIss",
      ^
      blpapi/internals_wrap.cxx:4562:11: error: use of undeclared identifier 'blpapi_ProviderSession_terminateSubscriptionsOnTopics'
      res = blpapi_ProviderSession_terminateSubscriptionsOnTopics(sessionHandle, &topic, 1, message);
      ^
      blpapi/internals_wrap.cxx:4570:14: error: use of undeclared identifier 'blpapi_ProviderSession_flushPublishedEvents'
      int rc = blpapi_ProviderSession_flushPublishedEvents(
      ^
      blpapi/internals_wrap.cxx:9741:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessage'
      result = (int)blpapi_EventFormatter_appendFragmentedRecapMessage(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,(blpapi_CorrelationId_t_ const *)arg5,arg6);
      ^
      blpapi/internals_wrap.cxx:9831:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessageSeq'
      result = (int)blpapi_EventFormatter_appendFragmentedRecapMessageSeq(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,arg5,arg6);
      ^
      blpapi/internals_wrap.cxx:12598:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceCheckTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceCheckTimeout'?
      result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setServiceCheckTimeout
      blpapi/internals_wrap.cxx:12571:22: note: '_wrap_blpapi_SessionOptions_setServiceCheckTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12598:66: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12571:103: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12649:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceDownloadTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout'?
      result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setServiceDownloadTimeout
      blpapi/internals_wrap.cxx:12622:22: note: '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12649:69: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12622:106: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12676:3: error: unknown type name 'blpapi_TlsOptions_t'
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12676:32: error: use of undeclared identifier 'blpapi_TlsOptions_t'
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12676:53: error: expected expression
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12694:28: error: unknown type name 'blpapi_TlsOptions_t'
      arg2 = reinterpret_cast< blpapi_TlsOptions_t * >(argp2);
      ^
      blpapi/internals_wrap.cxx:12699:49: error: use of undeclared identifier 'blpapi_TlsOptions'
      blpapi_SessionOptions_setTlsOptions(arg1,(blpapi_TlsOptions const *)arg2);
      ^
      blpapi/internals_wrap.cxx:12750:21: error: use of undeclared identifier 'blpapi_SessionOptions_setFlushPublishedEventsTimeout'; did you mean '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout'?
      result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout
      blpapi/internals_wrap.cxx:12723:22: note: '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12750:74: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12723:111: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:13693:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceCheckTimeout'; did you mean 'blpapi_SessionOptions_connectTimeout'?
      result = (int)blpapi_SessionOptions_serviceCheckTimeout(arg1);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      blpapi_SessionOptions_connectTimeout
      /Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include/blpapi_sessionoptions.h:214:14: note: 'blpapi_SessionOptions_connectTimeout' declared here
      unsigned int blpapi_SessionOptions_connectTimeout(
      ^
      blpapi/internals_wrap.cxx:13735:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceDownloadTimeout'
      result = (int)blpapi_SessionOptions_serviceDownloadTimeout(arg1);
      ^
      blpapi/internals_wrap.cxx:13777:21: error: use of undeclared identifier 'blpapi_SessionOptions_flushPublishedEventsTimeout'
      result = (int)blpapi_SessionOptions_flushPublishedEventsTimeout(arg1);
      ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      1 warning and 20 errors generated.
      error: command 'gcc' failed with exit status 1

      ----------------------------------------
      Failed building wheel for blpapi
      Running setup.py clean for blpapi
      Failed to build blpapi
      Installing collected packages: blpapi
      Running setup.py install for blpapi ... error
      Complete output from command /anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile:

      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      1 warning and 20 errors generated.
      error: command 'gcc' failed with exit status 1

      ----------------------------------------
      Command "/anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/









      share|improve this question
















      I have just tried to install blpapi into my MacBook and I have the below error. I have installed the C++ SDK and export both BLPAPI_ROOT and DYLD_LIBRARY_PATH to the right directory. It generates errors like




      error: use of undeclared identifier 'blpapi_SessionOptions_print'




      Does anyone know or have encountered this issue before?



      export BLPAPI_ROOT=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1
      export DYLD_LIBRARY_PATH=/Users/kc/Documents/python/blpapi_cpp_3.8.1.1/Darwin

      copying blpapi/datetime.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/identity.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/topiclist.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      copying blpapi/schema.py -> build/lib.macosx-10.6-x86_64-2.7/blpapi
      running build_ext
      building 'blpapi._internals' extension
      creating build/temp.macosx-10.6-x86_64-2.7
      creating build/temp.macosx-10.6-x86_64-2.7/blpapi
      gcc -fno-strict-aliasing -I/anaconda3/envs/py2.7/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include -I/anaconda3/envs/py2.7/include/python2.7 -c blpapi/internals_wrap.cxx -o build/temp.macosx-10.6-x86_64-2.7/blpapi/internals_wrap.o
      blpapi/internals_wrap.cxx:3346:5: error: use of undeclared identifier 'blpapi_SessionOptions_print'
      blpapi_SessionOptions_print(
      ^
      blpapi/internals_wrap.cxx:3473:62: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      PyObject* result = PyObject_CallFunction(loggerCallback, "KiIss",
      ^
      blpapi/internals_wrap.cxx:4562:11: error: use of undeclared identifier 'blpapi_ProviderSession_terminateSubscriptionsOnTopics'
      res = blpapi_ProviderSession_terminateSubscriptionsOnTopics(sessionHandle, &topic, 1, message);
      ^
      blpapi/internals_wrap.cxx:4570:14: error: use of undeclared identifier 'blpapi_ProviderSession_flushPublishedEvents'
      int rc = blpapi_ProviderSession_flushPublishedEvents(
      ^
      blpapi/internals_wrap.cxx:9741:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessage'
      result = (int)blpapi_EventFormatter_appendFragmentedRecapMessage(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,(blpapi_CorrelationId_t_ const *)arg5,arg6);
      ^
      blpapi/internals_wrap.cxx:9831:21: error: use of undeclared identifier 'blpapi_EventFormatter_appendFragmentedRecapMessageSeq'
      result = (int)blpapi_EventFormatter_appendFragmentedRecapMessageSeq(arg1,(char const *)arg2,arg3,(blpapi_Topic const *)arg4,arg5,arg6);
      ^
      blpapi/internals_wrap.cxx:12598:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceCheckTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceCheckTimeout'?
      result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setServiceCheckTimeout
      blpapi/internals_wrap.cxx:12571:22: note: '_wrap_blpapi_SessionOptions_setServiceCheckTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12598:66: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setServiceCheckTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12571:103: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceCheckTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12649:21: error: use of undeclared identifier 'blpapi_SessionOptions_setServiceDownloadTimeout'; did you mean '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout'?
      result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setServiceDownloadTimeout
      blpapi/internals_wrap.cxx:12622:22: note: '_wrap_blpapi_SessionOptions_setServiceDownloadTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12649:69: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setServiceDownloadTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12622:106: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setServiceDownloadTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12676:3: error: unknown type name 'blpapi_TlsOptions_t'
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12676:32: error: use of undeclared identifier 'blpapi_TlsOptions_t'
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12676:53: error: expected expression
      blpapi_TlsOptions_t *arg2 = (blpapi_TlsOptions_t *) 0 ;
      ^
      blpapi/internals_wrap.cxx:12694:28: error: unknown type name 'blpapi_TlsOptions_t'
      arg2 = reinterpret_cast< blpapi_TlsOptions_t * >(argp2);
      ^
      blpapi/internals_wrap.cxx:12699:49: error: use of undeclared identifier 'blpapi_TlsOptions'
      blpapi_SessionOptions_setTlsOptions(arg1,(blpapi_TlsOptions const *)arg2);
      ^
      blpapi/internals_wrap.cxx:12750:21: error: use of undeclared identifier 'blpapi_SessionOptions_setFlushPublishedEventsTimeout'; did you mean '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout'?
      result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout
      blpapi/internals_wrap.cxx:12723:22: note: '_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout' declared here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:12750:74: error: cannot initialize a parameter of type 'PyObject *' (aka '_object *') with an lvalue of type 'blpapi_SessionOptions_t *' (aka 'blpapi_SessionOptions *')
      result = (int)blpapi_SessionOptions_setFlushPublishedEventsTimeout(arg1,arg2);
      ^~~~
      blpapi/internals_wrap.cxx:12723:111: note: passing argument to parameter here
      SWIGINTERN PyObject *_wrap_blpapi_SessionOptions_setFlushPublishedEventsTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
      ^
      blpapi/internals_wrap.cxx:13693:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceCheckTimeout'; did you mean 'blpapi_SessionOptions_connectTimeout'?
      result = (int)blpapi_SessionOptions_serviceCheckTimeout(arg1);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      blpapi_SessionOptions_connectTimeout
      /Users/kelvincheng/Documents/python/kensho/blpapi_cpp_3.8.1.1/include/blpapi_sessionoptions.h:214:14: note: 'blpapi_SessionOptions_connectTimeout' declared here
      unsigned int blpapi_SessionOptions_connectTimeout(
      ^
      blpapi/internals_wrap.cxx:13735:21: error: use of undeclared identifier 'blpapi_SessionOptions_serviceDownloadTimeout'
      result = (int)blpapi_SessionOptions_serviceDownloadTimeout(arg1);
      ^
      blpapi/internals_wrap.cxx:13777:21: error: use of undeclared identifier 'blpapi_SessionOptions_flushPublishedEventsTimeout'
      result = (int)blpapi_SessionOptions_flushPublishedEventsTimeout(arg1);
      ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      1 warning and 20 errors generated.
      error: command 'gcc' failed with exit status 1

      ----------------------------------------
      Failed building wheel for blpapi
      Running setup.py clean for blpapi
      Failed to build blpapi
      Installing collected packages: blpapi
      Running setup.py install for blpapi ... error
      Complete output from command /anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile:

      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      1 warning and 20 errors generated.
      error: command 'gcc' failed with exit status 1

      ----------------------------------------
      Command "/anaconda3/envs/py2.7/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-record-QCtiNA/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/pr/0ctg47rj1b9bj1dk943ll6n80000gn/T/pip-install-SjJNQg/blpapi/






      python-2.7 blpapi






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 '18 at 17:49









      assylias

      246k50514653




      246k50514653










      asked Nov 20 '18 at 17:35









      K.C.K.C.

      62




      62
























          1 Answer
          1






          active

          oldest

          votes


















          0














          One quick solution is just to install this using conda from the conda-forge channel since there is a build for mac on there, i.e.



          conda install -c conda-forge blpapi





          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398515%2fcannot-install-blpapi-in-macos%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            One quick solution is just to install this using conda from the conda-forge channel since there is a build for mac on there, i.e.



            conda install -c conda-forge blpapi





            share|improve this answer




























              0














              One quick solution is just to install this using conda from the conda-forge channel since there is a build for mac on there, i.e.



              conda install -c conda-forge blpapi





              share|improve this answer


























                0












                0








                0







                One quick solution is just to install this using conda from the conda-forge channel since there is a build for mac on there, i.e.



                conda install -c conda-forge blpapi





                share|improve this answer













                One quick solution is just to install this using conda from the conda-forge channel since there is a build for mac on there, i.e.



                conda install -c conda-forge blpapi






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 5 '18 at 13:03









                mgilbertmgilbert

                1,81621130




                1,81621130






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398515%2fcannot-install-blpapi-in-macos%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

                    Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

                    A Topological Invariant for $pi_3(U(n))$