无法建立用于pyarrow的鸡蛋档案

时间:2019-07-03 09:57:05

标签: python python-3.x cmake aws-glue pyarrow

问题:

无法为pyarrow建立鸡蛋文件,尝试使用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

1 个答案:

答案 0 :(得分:0)

此错误表示您的系统上没有安装cmake。在macOS上,您可以使用Homebrew通过brew install cmake进行安装。

通常,您不应该从pyarrow构建egg文件,而应该将轮子作为鸡蛋,因为鸡蛋已被弃用。