AttributeError: module 'numba' has no attribute 'generated_jit'

Author: melvinkokxwCreated Apr 15, 2024Updated May 9, 2026
Labelsneeds-triage

Current Behaviour

Trying to import ProfileReport (i.e. from ydata_profiling import ProfileReport) gives the error AttributeError: module 'numba' has no attribute 'generated_jit'.

Expected Behaviour

Import should happen without issues

Data Description

NA. Error is thrown before any dataset is used.

Code that reproduces the bug

python
from ydata_profiling import ProfileReport

pandas-profiling version

v4.7.0

Dependencies

ydata-profiling==4.7.0
numba==0.59.1

OS

macos

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.

Source: Data-Centric-AI-Community/fg-data-profiling