全部 智大领峰 TBQuant功能 TBL语言 TB开户 问答专区 高手圈 其他
在python3.6的环境下安装tbpy,还是不能使用,请帮忙解决
chys1203 分享到
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的使用权限,请帮忙解决,谢谢

 

 

 

bert718

tbpy与tbquant一起升级同一版本,即每次quant升级,要手动升级tbpy

2021-04-03 19:13
chys1203

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

2021-04-04 12:11
dan1744345

更新版本后,我也出现了这个问题,但是检查过tbpy与tbq的版本,是一致的,而且python的版本也是3.6。之前是可以的,请问如何解决?data-href=

data-href=

2024-01-24 20:28
您未登录,请先 登录注册 后发表评论
顶部