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 cloning the git repo and running python setup.py install
, I get
File "setup.py", line 20, in <module>
raise Exception("BLPAPI_ROOT environment variable isn't defined")
Exception: BLPAPI_ROOT environment variable isn't defined
How should I proceed?
Just to complete the question (thanks mob :)
Packages Source - https://www.bloomberglabs.com/api/libraries/
Preparation
Instructions
Ref: 1. python blpapi installation error
You also need to install the C/C++ libraries and then set BLPAPI_ROOT to the location of the
libblpapi3_32.so
orlibblpapi3_64.so
files. For example:Then you can proceed with installing the python library.