当我运行命令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.我尝试使用命令"pip install eth-brownie“,但我的终端显示"pip command not found”。
发布于 2021-10-31 02:11:47
我收到了相同的错误,在运行以下命令后终于能够解决:
使用Homebrew: brew安装recordclass
brew安装cython
xcrun codesign --sign - "/Users/jon/Library/Python/3.8/lib/python/site-packages/regex/_regex.cpython-38-darwin.so“
pip3安装cytoolz
pip3安装pybind11
发布于 2021-11-05 03:38:04
M1 Mac芯片有问题。有两个方面的问题。(a) cytoolz,(b) regex==2021.10.8。
(a)通过执行pip install cytoolz而不是pipx来解决cytoolz
(b)正则表达式问题是一个大问题。问题出在版本上。打包错误会导致在Apple Silicon (M1)设备(https://githubmemory.com/@dragos-vlad)上安装x86_64正则表达式。要解决这个问题:将正则表达式固定到2021.9.30应该暂时有效。但是,您必须更改用于安装的brownie git中的要求。
发布于 2021-11-28 07:39:29
对于任何使用Windows10的人,我都遇到了同样的问题,只需运行:
pip install Cython然后
pip install eth-brownie不管是什么原因,我终于可以用pip安装了,但不能用pipx安装了。
https://stackoverflow.com/questions/69679343
复制相似问题