简体   繁体   中英

pipx install eth-brownie error : Fatal error from pip prevented installation

was trying this cmd:pipx install eth-brownie , but encountered this error

在此处输入图像描述

I have tried, but not working:

  1. reinstall pipx
  2. using pip install eth-brownie
  3. pip install bitarray , cytoolz and lru-dict seperately

Error in Text : Fatal error from pip prevented installation. Full pip output in file: /Users/pilotbryan/.local/pipx/logs/cmd_2022-05-22_15.26.44_pip_errors.log

pip failed to build packages: bitarray cytoolz lru-dict

Some possibly relevant errors from pip install: error: subprocess-exited-with-error xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command '/usr/bin/gcc' failed with exit code 1 error: legacy-install-failure

The problem is probably with the Command Line Tools package- that's why pip install was failing. You can try to download the tool using: xcode-select --install in terminal. If it does not work for you, try resetting the xcode install. I found useful tutorial in here: https://gist.github.com/Justintime50/2349ff5e62555aa097acbf519bbc27af

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