首页 文章

使用pip install zbar无法在wndows中为python安装zbar

提问于
浏览
0

使用缓存https://files.pythonhosted.org/packages/33/54/cc5819efc9ee7e34b60b41e1d2d4753b6dd0c26a41c9a552611f66aa106e/zbar-0.10.tar.bz2收集zbar

安装收集的软件包:zbar运行setup.py install for zbar ... error

从命令c完成输出:\ python27 \ python.exe -u -c“import setuptools,tokenize; file ='c:\ users \ k \ appdata \ local \ temp \ pip-build-y0jgcd \ zbar \ setup.py '; f = getattr(tokenize,'open',open)(file); code = f.read() . replace('\ r \ n','\ n'); f.close(); exec(compile (code,file,'exec'))“install --record c:\ users \ k \ appdata \ local \ temp \ pip-labpqj-record \ install-record.txt --single-version-external-managed - 编译:运行安装运行构建运行build_ext构建'zbar'扩展错误:INCLUDE环境变量为空命令“c:\ python27 \ python.exe -u -c”import setuptools,tokenize; file ='c:\ users \ k \ appdata \ local \ temp \ pip-build-y0jgcd \ zbar \ setup.py'; f = getattr(tokenize,'open',open)(file); code = f.read() . replace('\ r \ n ','\ n'); f.close(); exec(compile(code,file,'exec'))“install --record c:\ users \ k \ appdata \ local \ temp \ pip-labpqj-record \ install-record.txt --single-version-external-managed --compile“在c:\ users \ k \ appdata \ local \ temp \ pip-build-y0jgcd \ zbar \中失败,错误代码为1

如何解决这个问题

1 回答

相关问题