- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 MAC OS X Yosemite V10.10.1 上安装 Python 包 (PIP) junos-eznc,但我不确定为什么会收到以下错误?
“错误:命令 '/usr/bin/clang' 失败,退出状态为 69”
这是输出日志:
mac231s-MacBook-Air:~ macbookair$ pip install junos-eznc
Requirement already satisfied (use --upgrade to upgrade): junos-eznc in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Downloading/unpacking lxml>=3.2.4 (from junos-eznc)
Downloading lxml-3.4.1.tar.gz (3.5MB): 3.5MB downloaded
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml/setup.py) egg_info for package lxml
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
warning: no previously-included files found matching '*.py'
Downloading/unpacking ncclient>=0.4.1 (from junos-eznc)
Downloading ncclient-0.4.3.tar.gz (55kB): 55kB downloaded
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/ncclient/setup.py) egg_info for package ncclient
Requirement already satisfied (use --upgrade to upgrade): paramiko in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from junos-eznc)
Downloading/unpacking scp>=0.7.0 (from junos-eznc)
Downloading scp-0.8.0.tar.gz
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/scp/setup.py) egg_info for package scp
Downloading/unpacking jinja2>=2.7.1 (from junos-eznc)
Downloading Jinja2-2.7.3.tar.gz (378kB): 378kB downloaded
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/jinja2/setup.py) egg_info for package jinja2
warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking PyYAML>=3.10 (from junos-eznc)
Downloading PyYAML-3.11.tar.gz (248kB): 248kB downloaded
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/PyYAML/setup.py) egg_info for package PyYAML
Downloading/unpacking netaddr (from junos-eznc)
Downloading netaddr-0.7.13-py2.py3-none-any.whl (1.5MB): 1.5MB downloaded
Requirement already satisfied (use --upgrade to upgrade): setuptools>0.6 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from ncclient>=0.4.1->junos-eznc)
Downloading/unpacking markupsafe (from jinja2>=2.7.1->junos-eznc)
Downloading MarkupSafe-0.23.tar.gz
Running setup.py (path:/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/markupsafe/setup.py) egg_info for package markupsafe
Installing collected packages: lxml, ncclient, scp, jinja2, PyYAML, netaddr, markupsafe
Running setup.py install for lxml
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
building 'lxml.etree' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/libxml2 -I/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml/src/lxml/includes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.6-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
error: command '/usr/bin/clang' failed with exit status 69
Complete output from command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip-r8LGdK-record/install-record.txt --single-version-externally-managed --compile:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.4.1.
Building without Cython.
Using build configuration of libxslt 1.1.28
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-2.7
creating build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.6-intel-2.7/lxml
creating build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.6-intel-2.7/lxml/includes
creating build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.6-intel-2.7/lxml/html
creating build/lib.macosx-10.6-intel-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.6-intel-2.7/lxml
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.6-intel-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.6-intel-2.7/lxml/includes
creating build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources
creating build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.6-intel-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/src
creating build/temp.macosx-10.6-intel-2.7/src/lxml
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/libxml2 -I/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml/src/lxml/includes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.6-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
error: command '/usr/bin/clang' failed with exit status 69
----------------------------------------
Cleaning up...
Command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip-r8LGdK-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/g_/4gqvq3096kg5sg6thyyh3j4h0000gp/T/pip_build_macbookair/lxml
Storing debug log for failure in /Users/macbookair/.pip/pip.log
最佳答案
正如错误消息所说,您需要先同意 XCode 许可,然后才能使用其任何工具,包括 clang
.为此,请从命令行运行:
sudo xcrun cc
pip install junos-eznc
关于macos - 失败,退出状态为 69,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27907566/
我目前正在为 Cocoa/Objective-C 项目编写一个脚本来完全自动化我的编译-运行-调试过程。 我的最后一行代码是: lldb -f Build/MyApp.app -o "run" 这实际
我有一个带有登录屏幕的脚本,如果按下取消按钮,我想完全退出该应用程序。我尝试了 3 种方法: 系统退出() QApplication.quit() QCoreApplication.instance(
我有一个 Flash 应用程序,可以重定向到另一个页面。我很乐意捕获任何其他窗口卸载事件(单击链接/提交表单)并警告用户他们将丢失 Flash 应用程序中的进度。 但是,我找不到任何方法来判断 URL
我正在尝试在 Ubuntu 上用 Python 编写一个简单的程序,它将在播放视频完成后关闭/退出/退出 VLC Player。 能否请您指导我应该在我的程序中添加什么以获得我需要的结果。 impor
我在 Lynda.com 上学习 PHP 2 视频时遇到了一个问题,因为讲师似乎忽略了告诉我们他在视频中执行的步骤之一。我在这里上传了相关视频http://www.youtube.com/watch?
某天在群内有同学问到,在python下我用input或者raw_input都得输入完后回车才能获取到输入的值,那如何实现任意键退出暂停等功能呢,我当时也没有多想,因为接触python时间也不算长,主
我按顺序调用了几个函数(我无法编辑),但有些函数会重定向用户,所以我永远不会进入下一个函数。 我正在调用一个第三方函数,它调用了我能够阻止的 wp_redirect(),但是下一行是 exit;我不知
终止/退出主函数的 D 方式是什么? import std.stdio; import core.thread; void main() { int i; while (i <= 5)
我正在申请写作。用户可以打开应用程序、写一些文本、保存他们的工作等。 我试图做到这一点,以便点击 window close按钮将提示用户 (a) 保存他们的工作(如有必要)或 (b) 退出。 我正在尝
我正在通过在 repl 中检查别人的代码来玩弄它。 它不断调用 System/exit,这导致我的 repl 崩溃。这真是令人气愤。 在我有权访问的所有代码中,我都模拟了调用。 但它也会调用一些我没有
我正在使用 subprocess执行mimic的模块程序(指定 here )。下面的代码成功地读取了一些文本并写入了一个 mp3 文件。 import subprocess proc = subpro
退出 .then 范围后数组上的值被清除 在下面的代码中tableValues1.length 给我正确的长度,直到它位于每个循环内当它退出时,作用域数组长度为零。 请谁能帮我解决这个问题 - 谢谢
我正在尝试为 s3cmd 编写一个 docker 镜像。当我通过 docker-compose 运行从 Dockerfile 构建的图像时,容器在 docker compose run 命令之前退出。
这个问题已经有答案了: 已关闭12 年前。 Possible Duplicate: Quitting an application - is that frowned upon? 我编写了一个 And
我遇到 Selenium WebDriver 仅执行一次后退出 for 循环的问题。据推测,这是获取内容和在加载页面之前启动循环的问题。是否有可能让 webdriver 等待页面加载? List al
#include #include #include #include "Player.h" using namespace std; void PlayerMenu(); int main()
class Test{ public static void main(String args[]) { Patron list[] = new PatronData(
我正在做一些作业,遇到了这个问题。 Write a program that reads several lines of text and prints a table indicating the
我正在用 C 创建一个简单的 Linux 命令 shell。我无法理解我的代码在哪里出现问题。 “commands”是我希望作为一个父进程的子进程同时执行的 Linux 命令字符串列表。当所有执行完成
我的控制台应用程序有点问题。应用程序应该从用户那里获取数字并将它们添加到列表中,但是如果输入是“c”,它应该关闭。我不知道如何在不使用 Scanner.nextLine() 挂起应用程序并退出循环的情
我是一名优秀的程序员,十分优秀!