Skip to content

Import problem with Numpy2.0.1 #281

@Qooniee

Description

@Qooniee

Version Information

  • Numpy version: 2.0.1
  • Python version: 3.10.3
  • python obd version: 0.7.2

Problem Details

An error occurs when importing the obd module:
AttributeError: module 'numpy' has no attribute 'cumproduct'

Expected Behavior

The obd module should import without errors.

Actual Behavior

An AttributeError occurs, indicating that the cumproduct function does not exist in the current version of numpy.

When I use numpy==1.26.4, I can import obd because numpy has np.cumproduct.
You can replace np.cumproduct with np.cumprod.

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