ydataai / ydata-profiling

1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.
https://docs.profiling.ydata.ai
MIT License
12.38k stars 1.67k forks source link

No module named 'scipy.stats._mvn' error when importing ProfileReport #1553

Open dpc2604 opened 6 months ago

dpc2604 commented 6 months ago

Current Behaviour

Fails to load profile. This was working last time we ran it.

Returns error - ModuleNotFoundError: No module named 'scipy.stats._mvn'

Expected Behaviour

For it to keep working

Data Description

Don't get to the point of loading data

Code that reproduces the bug

Installing library - 
%pip install ydata-profiling==4.1.0

Fails on this - 
from ydata_profiling import ProfileReport

Error - 
ModuleNotFoundError: No module named 'scipy.stats._mvn'

pandas-profiling version

4.1.0

Dependencies

import pandas as pd

from ydata_profiling import ProfileReport
from ydata_profiling.config import Settings

OS

Databricks

Checklist

fabclmnt commented 6 months ago

@dpc2604 can you please provide more details?

Python versio as well as the other packages versions?

dpc2604 commented 6 months ago

Hi, Sorry. I go it working again by updating scipy after installing ydata-profiling==4.1.0

%pip install --upgrade scipy

It was working previously, but looks like the scipy dependancy got out of whack