How to install Bloomberg API Library for Python 2.7 on Mac OS X

后端 未结 2 1502
小鲜肉
小鲜肉 2021-01-06 00:20

I\'m trying to setup my Mac OS X system to use the pdblp Python library which requires me to first install the Bloomberg Open API libary for Python. After cloni

2条回答
  •  执笔经年
    2021-01-06 01:00

    You also need to install the C/C++ libraries and then set BLPAPI_ROOT to the location of the libblpapi3_32.so or libblpapi3_64.so files. For example:

    cd /some/directory
    wget https://bloomberg.bintray.com/BLPAPI-Experimental-Generic/blpapi_cpp_3.8.1.1-darwin.tar.gz
    tar zxvf blpapi_cpp_3.8.1.1-darwin.tar.gz
    

    export BLPAPI_ROOT=/some/directory/blpapi_cpp_3.8.1.1/Darwin

    export BLPAPI_ROOT=/some/directory/blpapi_cpp_3.8.1.1
    

    Then you can proceed with installing the python library.

提交回复
热议问题