' PIP安装回归器' - 错误是:" Python setup.py egg_info并未成功运行。 &quot

发布于 2025-02-07 17:03:47 字数 410 浏览 0 评论 0原文

我无法在Windows 11中安装 回归器 包装 pip安装回归器命令。

返回的错误是:

 python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]

我已升级在库/依赖项下方。

pip install --upgrade pip
pip install --upgrade setuptools
pip install ez_setup

尝试了网络中的许多建议,它们都没有任何帮助 感谢,

I can't install the regressors package with pip install regressors command in Windows 11.

The returned error is:

 python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [32 lines of output]

I have upgraded below libraries/dependencies.

pip install --upgrade pip
pip install --upgrade setuptools
pip install ez_setup

Tried many suggestions from Web, none of them worked Any help would be
appreciated,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最近可好 2025-02-14 17:03:47

将此库克隆到您的项目中,use_2to3参数 setup.py in 回归器您克隆的软件包,然后安装它使用PIP使用以下命令,然后您可以在项目中使用此软件包:

pip install -e ./name_of_your_clone_instance

Clone this library into your project, remove use_2to3 argument from setup.py in regressors package you cloned then install it with pip using below command and after that you can use this package in your project:

pip install -e ./name_of_your_clone_instance
怀里藏娇 2025-02-14 17:03:47

通过降低我的设置工具的版本,我在安装其他软件包时修复了类似的错误:

pip install --upgrade pip setuptools==57.5.0
pip install {package}

我从此获得了此解决方案: https://github.com/thibauth/python-pushover/issues/42

I fixed a similar error when installing a different package by downgrading my version of setup tools:

pip install --upgrade pip setuptools==57.5.0
pip install {package}

I got to this solution from this: https://github.com/Thibauth/python-pushover/issues/42

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文