如何安装管道库而不出现依赖错误

问题描述 投票:0回答:1

我收到一个错误。请帮助我。

我想安装管道库,你知道,这需要 pyyaml。 但是 PYYAML 已经安装在我的 py3.10 平台上(我无法更改 py 版本)。

Building wheels for collected packages: pyyaml
Building wheel for pyyaml (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─\> \[682 lines of output\]
In file included from ext/\_yaml.c:343:
ext/\_yaml.h:10: warning: "PyString_CheckExact" redefined
...

ext/\_yaml.c:20867:13: error: 'PyThreadState' {aka 'struct \_ts'} has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
20867 |     tstate-\>exc_traceback = local_tb;
|             ^\~\~\~\~\~\~\~\~\~\~\~\~
|             curexc_traceback
error: command '/usr/bin/gcc' failed with exit code 1
\[end of output\]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyyaml
Running setup.py clean for pyyaml
Failed to build pyyaml
ERROR: Could not build wheels for pyyaml, which is required to install pyproject.toml-based projects
pip dependencies pyyaml
1个回答
0
投票

pipelines,当前最新版本0.0.14于2017年发布。主页 getpipelines.com 重定向到个人(作者?)博客,该博客最后一次更新也是在2017年。该项目似乎已经过时并被放弃。

它需要 PyYAML 3.11,该版本于 2014 年发布。非常旧,当前版本是 6。它声明与 Python 2 (2.5-2.7) 和 3 (3.0-3.2) 兼容。

底线是:该项目很旧,无法与现代版本的 Python 一起使用。尝试较旧的 Python:3.8、3.6、2.7。

© www.soinside.com 2019 - 2024. All rights reserved.