pdblp软件包给出“没有名为_internal的模块”

时间:2019-11-08 19:22:06

标签: python api bloomberg pdblp

在导入pdblp程序包后,出现以下错误。我还看到了与blpapi问题类似的问题,但是没有一个解决方案有效。

我从彭博API网站C / C ++实验下载中将blpapi_64.dll.lib移到了工作目录中。使用Conda python 3.7重新安装。两次。这可能是管理员权限问题吗?

import pdblp as blp


Traceback (most recent call last):

  File "<ipython-input-4-37a5527b622a>", line 1, in <module>
    import pdblp as blp

  File "C:\Users\abunker\AppData\Local\Continuum\anaconda3\lib\site-packages\pdblp\__init__.py", line 1, in <module>
    from .pdblp import BCon  # NOQA

  File "C:\Users\abunker\AppData\Local\Continuum\anaconda3\lib\site-packages\pdblp\pdblp.py", line 4, in <module>
    import blpapi

  File "C:\Users\abunker\blpapi\__init__.py", line 5, in <module>
    from .internals import CorrelationId

  File "C:\Users\abunker\blpapi\internals.py", line 50, in <module>
    _internals = swig_import_helper()

  File "C:\Users\abunker\blpapi\internals.py", line 42, in swig_import_helper
    import _internals

ModuleNotFoundError: No module named '_internals'

0 个答案:

没有答案