简体   繁体   English

彭博数据服务 session 无法启动

[英]Bloomberg dataservices session won't start

I do not have BBG terminal privileges, but I DO have an account with access to Data Services .我没有 BBG终端权限,但我有一个可以访问数据服务的帐户。 I've successfully installed blpapi, tia and the SSH .我已经成功安装了 blpapi、tia 和SSH Using code from https://github.com/msitt/blpapi-python/tree/master/examples , these 4 lines run in the anaconda console:使用https://github.com/msitt/blpapi-python/tree/master/examples中的代码,这 4 行在 anaconda 控制台中运行:

options = blpapi.SessionOptions()

options.setServerHost('localhost')

options.setServerPort(8194)

session = blpapi.Session(options)

session.start()
Out[12]: False

It seems the code is installed correctly.看来代码安装正确。 What are the possible reasons the session wont start? session 无法启动的可能原因是什么?

Environment: Win 7, Python 3.7, Anaconda环境:Win 7,Python 3.7,Anaconda

Do you have any process running on local machine and listening on port 8194?您是否有任何进程在本地计算机上运行并在端口 8194 上侦听? Normally, you will need the local process bbcomm.exe running locally and listening on port 8194.通常,您需要本地进程 bbcomm.exe 在本地运行并侦听端口 8194。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM