python安装lzo_pip安装python-lzo时找不到文件错误

Collectingpython-lzoUsingcached python-lzo-1.11.tar.gzBuildingwheelsforcollected packages:python-lzoRunningsetup.py bdist_wheelforpython-lzo:startedRunningsetup.py bdist_wheelforpython-lzo:finishedwithstatus'error'Completeoutputfromcommand/usr/local/opt/python/bin/python2.7-u-c"import setuptools, tokenize;__file__='/private/var/folders/38/v_r4bjvx7dz626x16nh6jcn00000gn/T/pip-build-wDRYjx/python-lzo/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"bdist_wheel-d/var/folders/38/v_r4bjvx7dz626x16nh6jcn00000gn/T/tmp_ueOY4pip-wheel---python-tag cp27:/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:251:UserWarning:'licence'distribution optionisdeprecated;use'license'warnings.warn(msg)running bdist_wheelrunning buildrunning build_extbuilding'lzo'extensioncreating buildcreating build/temp.macosx-10.11-x86_64-2.7clang-fno-strict-aliasing-fno-common-dynamic-g-O2-DNDEBUG-g-fwrapv-O3-Wall-Wstrict-prototypes-I/usr/include/lzo-I/usr/local/include-I/usr/local/opt/openssl/include-I/usr/local/opt/sqlite/include-I/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7-c lzomodule.c-o build/temp.macosx-10.11-x86_64-2.7/lzomodule.olzomodule.c:35:10:fatal error:'lzo1x.h'filenotfound#include ^1error generated.error:command'clang'failedwithexit status1----------------------------------------Runningsetup.py cleanforpython-lzoFailedto build python-lzoInstallingcollected packages:python-lzoRunningsetup.py installforpython-lzo:startedRunningsetup.py installforpython-lzo:finishedwithstatus'error'Completeoutputfromcommand/usr/local/opt/python/bin/python2.7-u-c"import setuptools, tokenize;__file__='/private/var/folders/38/v_r4bjvx7dz626x16nh6jcn00000gn/T/pip-build-wDRYjx/python-lzo/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"install--record/var/folders/38/v_r4bjvx7dz626x16nh6jcn00000gn/T/pip-8RUWxo-record/install-record.txt--single-version-externally-managed--compile:/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:251:UserWarning:'licence'distribution optionisdeprecated;use'license'warnings.warn(msg)running installrunning buildrunning build_extbuilding'lzo'extensioncreating buildcreating build/temp.macosx-10.11-x86_64-2.7clang-fno-strict-aliasing-fno-common-dynamic-g-O2-DNDEBUG-g-fwrapv-O3-Wall-Wstrict-prototypes-I/usr/include/lzo-I/usr/local/include-I/usr/local/opt/openssl/include-I/usr/local/opt/sqlite/include-I/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7-c lzomodule.c-o build/temp.macosx-10.11-x86_64-2.7/lzomodule.olzomodule.c:35:10:fatal error:'lzo1x.h'filenotfound#include ^1error generated.error:command'clang'failedwithexit status1----------------------------------------

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值