Pipx 构建包失败

Gen*_*laj 9 installation brownie

当我运行命令 pipx install eth-brownie 时,我收到以下错误消息,

fatal error from pip prevented installation. Full pip output in file:
    /Users/gentgjonbalaj/.local/pipx/logs/cmd_2021-10-22_11.10.14_pip_errors.log

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.
Run Code Online (Sandbox Code Playgroud)

我尝试使用命令“pip install eth-brownie”,但我的终端显示“未找到 pip 命令”。

小智 5

我收到了同样的错误,运行以下命令后终于能够解决:

使用 Homebrew:brew install recordclass

酿造安装 cython

xcrun codesign --sign - “/Users/jon/Library/Python/3.8/lib/python/site-packages/regex/_regex.cpython-38-darwin.so”

pip3 安装 cytoolz

pip3安装pybind11