python - 无法为 pyarrow 构建 egg 文件
问题描述
问题:
无法为 pyarrow 构建 egg 文件,尝试使用 0.12.1 和 0.13 版本的 pyarrow。如果我错过了什么,你能帮我理解吗?
$ python setup.py bdist_egg
日志跟踪:
running bdist_egg
running egg_info
writing entry points to pyarrow.egg-info/entry_points.txt
writing top-level names to pyarrow.egg-info/top_level.txt
writing requirements to pyarrow.egg-info/requires.txt
writing pyarrow.egg-info/PKG-INFO
writing dependency_links to pyarrow.egg-info/dependency_links.txt
reading manifest file 'pyarrow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
no previously-included directories found matching '.asv'
writing manifest file 'pyarrow.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-x86_64/egg
running install_lib
running build_py
copying pyarrow/_generated_version.py -> build/lib.macosx-10.6-x86_64-3.5/pyarrow
running build_ext
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/Users/pratheek/egg_test/bin/python -DPYARROW_BOOST_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /Users/pratheek/Downloads/pyarrow-0.12.1
unable to execute 'cmake': No such file or directory
error: command 'cmake' failed with exit status 1
错误:
error: command 'cmake' failed with exit status 1
解决方案
此错误意味着您尚未cmake
在系统上安装。正如您在 macOS 上一样,您可以使用 Homebrew 通过brew install cmake
.
一般来说,你不应该使用创建 egg 文件,pyarrow
而是使用轮子,因为 egg 被认为是不推荐使用的。
推荐阅读
- reactjs - 如何找到所有使用从特定 HTTP 请求返回的响应的 React 组件?
- java - jsp迁移tomcat和java版本时出现奇怪错误
- javascript - 大型数据集的 Canvas 和 React Konva 可扩展性?
- google-app-engine - 从 App Engine 中托管的 React App 调用私有云函数
- google-cloud-platform - 仅在不设置“console.cloud.google.com”引用者的情况下为 gcs 使用经过身份验证的 url
- c# - Serilog 日志记录到elasticsearch,延迟时间长,是一种可用于更快记录日志的配置
- python - FileNotFoundError: [WinError 2] 系统找不到指定的文件:'frame_00_delay-0.04s.png' -> '0.png'
- ruby-on-rails - 当其中一个类中有额外的操作时,如何在不同的类中重复使用相同的方法?
- c# - ASP.NET Core 3.1 改变视图而不是重定向
- javascript - Chart.js:一个值为空,但不能断行