8000 BUG: ImportError: cannot import name '_cext_gpu' from partially initialized module 'shap' (most likely due to a circular import) (c:\Users\w1765\anaconda3\Lib\site-packages\shap\__init__.py) · Issue #4072 · shap/shap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BUG: ImportError: cannot import name '_cext_gpu' from partially initialized module 'shap' (most likely due to a circular import) (c:\Users\w1765\anaconda3\Lib\site-packages\shap\__init__.py) #4072
Open
@wang-mingzhi

Description

@wang-mingzhi

Issue Description

when i run:python setup.py install,I encountered these error:
c1: fatal error C1083: 无法打开源文件: “shap/explainers/_kernel_lib.c”: No such file or directory

error.txt

Minimal Reproducible Example

import shap

shap.GPUTreeExplainer(model)

Traceback

Expected Behavior

No response

Bug report checklist

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest release of shap.
  • I have confirmed this bug exists on the master branch of shap.
  • I'd be interested in making a PR to fix this bug

Installed Versions

git clone https://github.com/shap/shap.git

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0