安装zbar一直失败,提示error: command 'gcc' failed with exit status 1, ERROR: Failed building wheel for zbar。 解决方案 使用homebrew安装zbar brew install zbar 完美解决