Error al instalar eth-brownie en MacOS

Llamo pipx install eth-browniey me sale este error:

pip failed to build packages:
    bitarray
    cytoolz
    lru-dict

Some possibly relevant errors from pip install:
    fatal error: too many errors emitted, stopping now [-ferror-limit=]

Error installing eth-brownie.

Intenté buscar en Google sin éxito. ¿Algún consejo sobre cómo instalar correctamente eth-brownie en Mac?

¡Gracias!

Lo probé en un MacOs con un M1, pero no funciona

Respuestas (2)

Primero asegúrese de tener Python3 instalado, haga una búsqueda rápida y regrese aquí una vez que haya instalado

Primero instale Homebrew, si aún no lo tiene instalado, escriba lo siguiente en su terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Luego instale pipx a través de Homebrew (eso es lo que acaba de instalar a través del comando "curl"

brew install pipx

Una vez hecho el tipo de instalación

pipx ensure-path

para asegurar el camino (duh)

Luego debe salir de la terminal y abrir una nueva ventana de terminal

exit

Abra una nueva ventana de terminal y ejecute el script original en el que estaba fallando

pipx install eth-brownie

Si tiene éxito, la terminal leerá:

installed package eth-brownie x.x.x, Python x.x.x
These apps are now globally available
- brownie
done!

Teniendo una MacOs con M1, tuve que realizar esos pasos:

STEP1: python -m pip install --user cython
STEP2: python -m pip install --user cytoolz
STEP3: python -m pip install --user eth-brownie
STEP4: python -m pip install --user pipx
STEP5: python -m pipx ensurepath
STEP6: RESTARTED TERMINAL
STEP7: pipx install eth-brownie