Replies: 7 comments 2 replies
-
Same issue here. Python 3.10. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue with pandas-profiling="3.2.0". I updated the module to pandas-profiling="3.3.0" and it worked without any further issues. (pandas="1.4.4" and Python 3.8.10) |
Beta Was this translation helpful? Give feedback.
-
Yes this is already sorted in the latest version of pandas-profiling 3.2.0 and 3.4.0. I'll ask you to confirm me whether with the newest versions and in a conda or pyenv, the problem is sorted. |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same issue with below versions. How can i resolve the error any help much appreciated |
Beta Was this translation helpful? Give feedback.
-
hey guys i have installed pandas_profiling and when i run my code it says no module named pandas_profiling python 3.12.0 |
Beta Was this translation helpful? Give feedback.
-
thanks for your reply , i have tried to install that library but it stars the installation but at the end it gives me this Building wheel for levenshtein (pyproject.toml) ... error × Building wheel for levenshtein (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Beta Was this translation helpful? Give feedback.
-
i have tried a lot of solutions , i have created a venv for both python 3.11 and 3.12 but it doesn't work i have installed pandas_profiling for python 3.12 it was installed but after running my code it says No module named 'pandas.... i have upgraded pip , pandas and everything , i also tried deactivating my antivirus because sometimes it doesn't let some libraries to be installed but nothing works for me |
Beta Was this translation helpful? Give feedback.
-
Hi all.
I have an issue with pandas_profiling, currently my environment
And received an error while try to import pandas_profilling
from pandas_profiling import ProfileReport
profile = ProfileReport(retail_raw)
profile.to_notebook_iframe()
ImportError Traceback (most recent call last)
Input In [11], in <cell line: 1>()
----> 1 from pandas_profiling import ProfileReport
2 profile = ProfileReport(retail_raw)
3 profile.to_notebook_iframe()
File ~\Anaconda3\lib\site-packages\pandas_profiling_init_.py:7, in
1 """Main module of pandas-profiling.
2
3 .. include:: ../../README.md
4 """
6 from pandas_profiling.config import Config, config
----> 7 from pandas_profiling.controller import pandas_decorator
8 from pandas_profiling.profile_report import ProfileReport
9 from pandas_profiling.version import version
File ~\Anaconda3\lib\site-packages\pandas_profiling\controller\pandas_decorator.py:4, in
1 """This file add the decorator on the DataFrame object."""
2 from pandas import DataFrame
----> 4 from pandas_profiling.init import ProfileReport
7 def profile_report(df, **kwargs) -> ProfileReport:
8 """Profile a DataFrame.
9
10 Args:
(...)
15 A ProfileReport of the DataFrame.
16 """
File ~\Anaconda3\lib\site-packages\pandas_profiling_init_.py:8, in
6 from pandas_profiling.config import Config, config
7 from pandas_profiling.controller import pandas_decorator
----> 8 from pandas_profiling.profile_report import ProfileReport
9 from pandas_profiling.version import version
11 clear_config = ProfileReport.clear_config
File ~\Anaconda3\lib\site-packages\pandas_profiling\profile_report.py:11, in
8 from tqdm.auto import tqdm
10 from pandas_profiling.config import config
---> 11 from pandas_profiling.model.describe import describe as describe_df
12 from pandas_profiling.model.messages import MessageType
13 from pandas_profiling.report import get_report_structure
File ~\Anaconda3\lib\site-packages\pandas_profiling\model\describe.py:11, in
9 from pandas_profiling.config import config as config
10 from pandas_profiling.model.base import Variable
---> 11 from pandas_profiling.model.correlations import calculate_correlation
12 from pandas_profiling.model.sample import Sample, get_sample
13 from pandas_profiling.model.summary import (
14 get_duplicates,
15 get_messages,
(...)
19 get_table_stats,
20 )
File ~\Anaconda3\lib\site-packages\pandas_profiling\model\correlations.py:11, in
9 import pandas as pd
10 from confuse import NotFoundError
---> 11 from pandas.core.base import DataError
12 from scipy import stats
14 from pandas_profiling.config import config
ImportError: cannot import name 'DataError' from 'pandas.core.base' (C:\Users\etana\Anaconda3\lib\site-packages\pandas\core\base.py)
Need the help to fix my problem.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions