1、 Scene description
The error of installing scrapy (PIP3 install scrapy) in terminal on Mac OS system is as follows
error: command '/usr/bin/clang' failed with exit status 1
2、 Scene analysis
Since clang is used in the compiler for C at the bottom of Mac OS system, Xcode needs to be installed
3、 Solutions
Do the following in terminal
xcode-select --install
Then install scrapy
Note: I use Python 3, so I use PIP3 install sketch
Read More:
- Python MAC installation mysqlclient package error “error: Command ‘clang’ failed with exit status 1” solution
- Python Mac installs mysqlclient package error “error: command’clang’ failed with exit status 1” solution
- Command /usr/bin/codesign failed with exit code 1
- command/usr/bin/codesign failed with exit code 1- code sign error
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Python installation problem: error: Command erred out with exit status 1:
- error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1, Raspberry Pi installation paramiko
- Flutter – iOS: Command /bin/sh failed with exit code 255
- XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- command ‘gcc‘ failed with exit status 4
- command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Install Python package under MacOS: “error: Command ‘GCC’ failed with exit status 1”
- Command errored out with exit status 1: python setup.py egg_info Check the logs for full command ou
- Ubuntu16.04 pip3 install PyAudio 出错:error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- About Xcode command phasescriptexecution failed with a nonzero exit code solution
- Error: Command ‘arm linux gnueabihf GCC’ failed with exit status 1, raspberry pie install paramiko
- IOS error: linker command failed with exit code 1 solution
- Python program exit: OS_ Exit() and sys.exit ()