You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For further info, I did ask with #1530 (comment) whether the resolution of #1530 (which is now closed) applies when using pip, given I still get the error.
I thought that it could have been an issue with the latest version of ydata-profiling, but I tried to install all the previous major versions listed here https://pypi.org/project/ydata-profiling/#history and I get the same error.
This suggests an issue not on the latest version of the profiler per-se, but rather an issue with the other dependencies, maybe with the latest versions of Jupyter?
By running !{sys.executable} -m pip install -U ydata-profiling[notebook] I get the following error:
no matches found: ydata-profiling[notebook]
This happens because pip doesn't recognise the square brackets. The package should use quotes like this 'ydata-profiling[notebook]', so pip can parse the whole string as a package name and pull the required libraries.
Also, the command doesn't need to import sys, you could simplify the command with this !pip install -U 'ydata-profiling[notebook]'.
Furthermore, the !jupyter nbextension enable --py widgetsnbextension command fails because nbextension is not a valid subcommand in the latest version of Jupyter.
Current Behaviour
I get a
ModuleNotFoundError: No module named 'ydata_profiling'
error message in Jupyter notebook when I import theydata-profiling
module.The package version is
4.8.3
and I installed it withpip
.Expected Behaviour
I would expect for the module to be found.
Code that reproduces the bug
Install the dependency using
pip
. Eitheror
Then run it in a Jupyterlab environment
ydata-profiling version
v4.8.3
Dependencies
OS
macOS Sonoma v14.4.1 (Darwin Kernel Version 23.4.0 x86_64)
Checklist
Similar issue
#1530
The text was updated successfully, but these errors were encountered: