Skip to content

Which version of numpy is compatible with FastTreeSHAP? #37

Description

@yrachel

For numpy=2, I get "TypeError: Converting np.inexact or np.floating to a dtype not allowed."

For numpy=1.26, I get "AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?"

Same issue until numpy=1.21, where I get "pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'"

The last issue I see on this topic is from a few years ago. Has the issue been fixed? If not, which version works?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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