Skip to content

@joblib.Memory('./.cache', verbose=0).cache报错 #1

@quant2008

Description

@quant2008

我在windows下运行main.py,报如下错误。
(qlib230908) E:\myquant\torchqtm\examples>E:/anaconda3/envs/qlib230908/python.exe e:/myquant/torchqtm/examples/main.py
Traceback (most recent call last):
File "e:/myquant/torchqtm/examples/main.py", line 11, in
from torchqtm.utils.universe import StaticUniverse, IndexComponents
File "E:\myquant\torchqtm\torchqtm\utils\universe.py", line 42
@joblib.Memory('./.cache', verbose=0).cache
^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions