0

尝试使用以下错误安装pipx install brownie 后,我也尝试pipx install cytoolz无济于事。fml。

pip failed to build package:
    cytoolz

Some possibly relevant errors from pip install:
    cytoolz/functoolz.c:23087:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    cytoolz/functoolz.c:23092:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    cytoolz/functoolz.c:23176:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    error: command '/usr/bin/clang' failed with exit code 1

Error installing eth-brownie.

帮助表示赞赏!

4

2 回答 2

0

您必须手动删除 libpng 并重新安装它pip install dlib --no-cache

如果你没有安装 libpngpip install dlib --no-cache

对我来说效果很好。解决方案在这里https://github.com/davisking/dlib/issues/1694

于 2022-01-13T09:17:53.000 回答
0

我最终只是使用pip3 install eth-brownie

我也遇到了麻烦pipx upgrade eth-brownie,我pip3 install --upgrade eth-brownie改用它。

于 2021-11-19T14:26:27.607 回答