有人可以帮我做什么吗? 我的Python版本是Python 3.9.13。
这是代码: !pip 安装 ydata-profiling 从 ydata_profiling 导入 ProfileReport
错误:无法卸载“llvmlite”。这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这将导致仅部分卸载。
ModuleNotFoundError Traceback(最近一次调用最后一次) ~\AppData\Local\Temp\ipykernel_9224�189906.py 中 1 #!pip 安装 pandas-profiling 2 get_ipython().system('pip install ydata-profiling') ----> 3 从 ydata_profiling 导入 ProfileReport
ModuleNotFoundError:没有名为“ydata_profiling”的模块
!如何解决该错误以及如何使用 ydata-profiling 的功能?
关闭所有内容 --> 打开一个新的 Jupyter 会话 --> 创建一个新笔记本。
使用 pip 安装 ydata-profiling
pip install ydata-profiling
重新启动运行时/内核
import pandas as pd
from ydata_profiling import ProfileReport