我正在尝试安装pyobjc内核,这是pyautogui的一个要求。我在安装时遇到以下错误。我已经使用更新了setuptools
pip3 install --upgrade setuptools
而且还利用
sudo python3 ez_setup.py
我在OSX Yosemite上使用Python 3.5。
我看到下面的代码对xcode有要求。这就是为什么需要xcode进行安装的原因吗?
pip3 install pyobjc-core Collecting pyobjc-core Using cached pyobjc-core-3.1.1.tar.gz Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/pyobjc_core.egg-info writing include/pyobjc-compat.h to pip-egg-info/pyobjc_core.egg-info/include/pyobjc-compat.h writing include/pyobjc-api.h to pip-egg-info/pyobjc_core.egg-info/include/pyobjc-api.h writing namespace_packages to pip-egg-info/pyobjc_core.egg-info/namespace_packages.txt writing top-level names to pip-egg-info/pyobjc_core.egg-info/top_level.txt writing dependency_links to pip-egg-info/pyobjc_core.egg-info/dependency_links.txt writing pip-egg-info/pyobjc_core.egg-info/PKG-INFO writing manifest file 'pip-egg-info/pyobjc_core.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Traceback (most recent call last): File "", line 1, in File "/private/var/folders/zw/573csqzn0pnbjkb44gw2s7800000gn/T/pip-build-72bxsxfe/pyobjc-core/setup.py", line 696, in **parse_package_metadata() File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/private/var/folders/zw/573csqzn0pnbjkb44gw2s7800000gn/T/pip-build-72bxsxfe/pyobjc-core/setup.py", line 371, in run egg_info.egg_info.run(self) File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/setuptools/command/egg_info.py", line 193, in run File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/setuptools/command/egg_info.py", line 216, in find_sources File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/setuptools/command/egg_info.py", line 300, in run File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/setuptools/command/egg_info.py", line 329, in add_defaults File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/setuptools/command/sdist.py", line 132, in add_defaults File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/cmd.py", line 299, in get_finalized_command cmd_obj.ensure_finalized() File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/cmd.py", line 107, in ensure_finalized self.finalize_options() File "/private/var/folders/zw/573csqzn0pnbjkb44gw2s7800000gn/T/pip-build-72bxsxfe/pyobjc-core/setup.py", line 525, in finalize_options universal_newlines=True).strip() File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 629, in check_output **kwargs).stdout File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 711, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/usr/bin/xcodebuild', '-version', '-sdk', 'macosx', 'Path']' returned non-zero exit status 1 ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/zw/573csqzn0pnbjkb44gw2s7800000gn/T/pip-build-72bxsxfe/pyobjc-core/
错误很明显:你需要xcode...
这很傻,但不幸的是,有这些开发工具与它联系在一起,因为许多包需要开发工具(在你的特定情况下,xcodebuild需要它),你必须安装xcode(不管怎样,它是免费的)
在/usr/lib/node_modules/angular-cli/node_modules/node-sass/vendor/linux-x64-51/binding中找到二进制文件。节点测试二进制总线错误(核心转储)/usr/lib──(空) npm WARN可选跳过可选依赖项:fsevents@^1.0.0(Node_modules/angular-cli/node_modules/cho
Linux 目前还没有对应的Linux安装包发布,如果我们发布了,我们将更新本页面。当前你可以查看 从二进制安装。 Windows 目前还没有对应的Windows安装包发布,如果我们发布了,我们将更新本页面。我们计划使用 MSI 安装器或者 Chocolatey来制作安装包。当前你可以查看 从二进制安装。 macOS macOS 平台下当前我们仅支持通过 brew 来安装。如果您没有安装 Home
然后是“选择安装位置”的界面,对于其中的“目标文件夹”,可以使用默认设置的值,也可以选择一个别的路径,比如我此处改为了D盘的相应位置:D:\Program Files (x86)\Notepad++\ 再点击下一步
我正在使用windows 10,连接到我家的Wifi。我已经安装了VMWare 当我尝试运行react native应用程序时,使用,它选择了错误的ip,即Infraction virtualbox ip。这不是在挑选我无线网络的ip。我怎样才能让它使用正确的IP,这样我就可以从我的手机(也在同一个网络上)访问它了
在Symfony安装与 Symfony新my_project3.4 我有一个错误: PHP注意:使用未定义的常量JSON\u ERROR\u DEPTH-在中假定为“JSON\u ERROR\u DEPTH”phar:///usr/local/bin/symfony/vendor/guzzlehttp/guzzle/src/Utils.php 第140行PHP注意:使用未定义的常量JSON\u E
出现“选择组件”的界面: 可以看到,此处有好几个选项: Context Menu Entry 图 2.1. Notepad++的右击打开文件功能 默认已勾选 其作用是添加右键快捷键。即,对于任何文件右击所出现的菜单中,都会有“Edit with Notepad++”: 其显而易见的好处是,可以很方便的启动Notepad++去打开相应的(任何)文件。 Auto Complete Files Note