简体   繁体   中英

Error installing eth-brownie. (with pipx)

Tried installing with pipx install brownie After the error below, I also tried pipx install cytoolz to no avail. 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.

Help appreciated!

I ended up just using pip3 install eth-brownie

I was also having trouble with: pipx upgrade eth-brownie but pip3 install --upgrade eth-brownie==1.4.1 worked for brownie version 1.17.0 (which I needed because publish_source=True was broken in previous version)

I honestly don't understand how eth-brownie==1.4.1 installed 1.17.0 but it did... when I tried pip3 install --upgrade eth-brownie==1.17.0 it didn't work. smfh that's software for you...

I ended up just using pip3 install eth-brownie

I was also having trouble with pipx upgrade eth-brownie for which I used pip3 install --upgrade eth-brownie instead.

You have to manually remove libpng and re-install it with pip install dlib --no-cache

if you don't have libpng installed just pip install dlib --no-cache

Worked well for me. solution here https://github.com/davisking/dlib/issues/1694

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM