在spyder中安装pandas_profing时出错



无法在spyder 中安装pandas_profing

如果你能告诉我如何在spyder 中安装熊猫评测,请告诉我

也只使用Spyder,Spyder IDE

尝试过这些:

pip install pandas-profiling
pip install pandas_profiling==2.5.0
pip install https://github.com/ydataai/pandas-profiling/archive/master.zip

尝试从pandas_profiling_master 运行setup.py

这是:

Collecting pandas-profiling
Using cached pandas_profiling-3.2.0-py2.py3-none-any.whl (262 kB)
Requirement already satisfied: jinja2>=2.11.1 in c:usersasusappdatalocalprogramsspyderpkgs (from pandas-profiling) (3.1.2)
Collecting tqdm>=4.48.2
Using cached tqdm-4.64.0-py2.py3-none-any.whl (78 kB)
Requirement already satisfied: markupsafe~=2.1.1 in c:usersasusappdatalocalprogramsspyderpkgs (from pandas-profiling) (2.1.1)
Collecting visions[type_image_path]==0.7.4
Using cached visions-0.7.4-py3-none-any.whl (102 kB)
Collecting htmlmin>=0.1.12
Using cached htmlmin-0.1.12.tar.gz (19 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error

python setup.py egg_info did not run successfully.
exit code: 1

[6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:UsersAsusAppDataLocalTemppip-install-kxfhoo5rhtmlmin_c9d69781ba1c4bc19ec6208da42060a8setup.py", line 4, in <module>
from htmlmin import __version__
ModuleNotFoundError: No module named 'htmlmin'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details

感谢

我试图安装ydata-profiling,这是Panda评测的最新版本,但我没有安装任何以前版本的htmlmin。我也犯了和你一样的错误。

我必须先安装django-htmlmin,但它返回了一个错误,说0.11.0版本对于ydata评测来说太旧了,但它似乎已经可以调用自己了,所以我可以安装htmlmin(从git(,它就工作了。

在那之后,使用pip install ydata-profiling安装ydata评测就和往常一样简单

相关内容

  • 没有找到相关文章

最新更新