我已经使用
pip install pandas-profiling
技术上已经安装了 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。