从技术上讲,我已经使用安装了 pandas-profiling
pip install pandas-profiling
但是当我尝试导入它时,我收到以下错误:
import numpy as np
import pandas as pd
import pandas_profiling
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-e1a23f2a6f04> in <module>()
1 import numpy as np
2 import pandas as pd
3 import pandas_profiling
ModuleNotFoundError: No module named 'pandas_profiling'
所以我尝试在 Jupyter Notebook 中安装它,也得到了以下错误:
import sys
!{sys.executable} -m pip install pandas-profiling
Collecting pandas-profiling
Could not find a version that satisfies the requirement pandas-profiling
(from versions: )
No matching distribution found for pandas-profiling
我也无法使用 conda 安装它,因为由于某种原因我无法建立与 conda.anaconda.org 的连接。