无法执行pip安装pandasprofiling

2024-04-29 05:26:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我曾多次尝试使用“pip安装Pandas Profiling”在我的windows10cmd上安装Pandas Profiling,但都不起作用。我也试着把它安装在康达上,但情况是一样的。我需要帮忙安装这个


Tags: pippandas情况profilingwindows10cmd
3条回答

我也有同样的问题。它不适用于正常的pip install。我通过在anaconda提示符中运行以下命令修复了它:

conda install -c anaconda pandas-profiling

You can find the full documentation here.

希望有帮助:)

我已经找到了错误消息的解决方案。我必须安装微软C++的构建工具,然后我启动它,并通过它使用“PIP安装熊猫剖析”来完成安装,你可以使用链接^ https://visualstudio.microsoft.com/visual-cpp-build-tools/

下载。

如果您不提供错误消息,我们将无法帮助您

如果出现以下错误消息:

'pip' is not recognized as an internal or external command,
operable program or batch file.

这意味着Python不会添加到Path环境变量中。如何修复它:

  1. 第一种解决方案:通过进入环境变量,将Python添加到路径中,在System Variables中单击Path,然后Edit,然后在网格中添加Python的路径(可能是C:\Users\<user>\AppData\Local\Programs\Python\Python<version>\)。您还可以通过卸载并再次安装来将Python添加到路径中,并在安装程序中,确保选中“将Python添加到路径”Add Python to the Path in the installer
  2. 第二种解决方案:您可以通过将python3 -m放在pip命令之前来运行pip,如:python3 -m pip install pandas-profiling

相关问题 更多 >