擅长:python、mysql、java
<p>只是为了完成这个问题(谢谢大家:)</p>
<p>包源-<a href="https://www.bloomberglabs.com/api/libraries/" rel="nofollow noreferrer">https://www.bloomberglabs.com/api/libraries/</a></p>
<p>准备</p>
<ol>
< C/C++ +</LI>的SDK
<li>用于Python的SDK</li>
</ol>
<p>说明</p>
<pre><code># navigate yourself to the path where you want to keep your SDK for some tim
cd /Users/msam/
# unzip C/C++ Package
tar zxvf Downloads/blpapi_cpp_3.8.1.1-darwin.tar.gz
# set variable
export BLPAPI_ROOT=/some/directory/blpapi_cpp_3.8.1.1/
export DYLD_LIBRARY_PATH=/Users/sampathkumarm/blpapi_cpp_3.8.1.1/Darwin/
# save variable to reuse in next session
echo >> ~/.bash_profile
echo "Bloomberg API (python)library Settings " >> ~/.bash_profile
echo "export BLPAPI_ROOT=/some/directory/blpapi_cpp_3.8.1.1/" >> ~/.bash_profile
echo "export DYLD_LIBRARY_PATH=/Users/sampathkumarm/blpapi_cpp_3.8.1.1/Darwin/" >> ~/.bash_profile
echo >> ~/.bash_profile
</code></pre>
<p>参考号:
一。<a href="https://stackoverflow.com/questions/32026901/python-blpapi-installation-error">python blpapi installation error</a></p>