Scorpi000/QuantStudio

import QuantStudio.api as QS 报错

Opened this issue · 0 comments

安装完之后 import QuantStudio.api as QS 报错

Traceback (most recent call last):
File "C:/Users/liuzhiwei/PycharmProjects/test/test.py", line 1, in
import QuantStudio.api as QS
File "D:\anaconda\lib\site-packages\QuantStudio\api.py", line 2, in
import QuantStudio.FactorDataBase.api as FactorDB
File "D:\anaconda\lib\site-packages\QuantStudio\FactorDataBase\api.py", line 7, in
from .WindDB2 import WindDB2
File "D:\anaconda\lib\site-packages\QuantStudio\FactorDataBase\WindDB2.py", line 347, in
class _DividendTable(_DBTable):
File "D:\anaconda\lib\site-packages\QuantStudio\FactorDataBase\WindDB2.py", line 351, in _DividendTable
Operator = Either(Function(None), None, arg_type="Function", label="算子", order=2)
File "D:\anaconda\lib\site-packages\traits\util\deprecated.py", line 31, in wrapper
return fn(*args, **kw)
TypeError: init() takes 1 positional argument but 2 were given