Skip to content

auto_analysis工具,报错 Code execution failed at line 'from sklearn.linear_model import LogisticRegression' due to: AttributeError: 'IsolatedEnviron' object has no attribute 'setdefault' #416

@Kenwwww

Description

@Kenwwww

我单独测试smolagents是可以成功运行的,所以我想是不是异步环境或者上下文的相关问题,在jdgenie tool中的codeagent执行这个代码就会报错:
Code execution failed at line 'from sklearn.linear_model import LogisticRegression' due to: AttributeError: 'IsolatedEnviron' object has no attribute 'setdefault'
不能导入sklearn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions