question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pandas_profiling.utils.cache

See original GitHub issue

ModuleNotFoundError: No module named ‘pandas_profiling.utils’*

To Reproduce

Version information:

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
ajaimes07commented, Apr 21, 2020

FYI, I installed the package using gitbash pulling from your github repo. That worked. pip install https://github.com/pandas-profiling/pandas-profiling/archive/master.zip

0reactions
sbrugmancommented, Apr 22, 2020

I’m convinced that this issue is problematic, but can’t reproduce it. The 2.6.0 release is the first to contain a .whl: https://pypi.org/project/pandas-profiling/#files. On my machine this still seems to work. More diagnostic information is welcome.

Tested on Window/Ubuntu, Python 3.7, both .whl and .tar.gz. Code to test:

from pandas_profiling.utils.cache import cache_file
cache_file()

Expected output

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-dba40bb419de> in <module>
      1 from pandas_profiling.utils.cache import cache_file
      2 
----> 3 cache_file()

TypeError: cache_file() missing 2 required positional arguments: 'file_name' and 'url'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple errors after installation · Issue #520 - GitHub
... the titanic example notebook: I) from pandas_profiling import ProfileReport from pandas_profiling.utils.cache import cache_file ret...
Read more >
API — pandas-profiling dev documentation - YData
API · pandas_profiling.utils.cache · pandas_profiling.utils.common · pandas_profiling.utils.dataframe · pandas_profiling.utils.notebook · pandas_profiling.utils.
Read more >
Responses – Medium
Although for some reason the “ from pandas_profiling.utils.cache import cache_file” doesn't work — 'No module named 'pandas_profiling.utils'. Any tips?
Read more >
Cannot import or install pandas-profiling in Jupyter Notebook
Run pip install pandas-profiling command in a separate cell in the jupyter notebook. After this just restart the kernal and run again. This ......
Read more >
Accelerate Your Exploratory Data Analysis With Pandas ...
Pandas-profiling generates profile reports from a pandas DataFrame . ... from pandas_profiling.utils.cache import cache_file ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found