在python3.6的环境下安装tbpy,还是不能使用,请帮忙解决
2021-04-03 12:07


import tbpy  as tbpy

tbpy.init()

运行上面代码,提示:


RuntimeError: 加载D:\TBQuant\TBDataCenterAPI.dll失败,找不到指定的程序。

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "<ipython-input-2-e1028eaa2da7>", line 1, in <module>
    tbpy.init()

  File "D:\Anaconda3\envs\python36\lib\site-packages\tbpy\__init__.py", line 11, in init
    return tbpy.init()

SystemError: <Boost.Python.function object at 0x000001A7EC11F7F0> returned a result with an error set

//--------------------------------------------------------------------------------------------------------------------

是不是我没有开通tbpy的使用权限,请帮忙解决,谢谢

 

 

 

评论区
chys1203

谢谢大神,确实是这个问题,已解决。

2021-04-04 12:11
顶部