Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] install pyarrow wrong #44189

Closed
xiaoHaoWeb opened this issue Sep 23, 2024 · 4 comments
Closed

[Python] install pyarrow wrong #44189

xiaoHaoWeb opened this issue Sep 23, 2024 · 4 comments
Labels
Component: Python Type: usage Issue is a user question

Comments

@xiaoHaoWeb
Copy link

Describe the usage question you have. Please include as many useful details as possible.

CMake Error at CMakeLists.txt:266 (find_package):
By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Arrow", but
CMake did not find one.

    Could not find a package configuration file provided by "Arrow" with any of
    the following names:
  
      ArrowConfig.cmake
      arrow-config.cmake
  
    Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
    "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
    provides a separate development package or SDK, be sure it has been
    installed.
  
  
  -- Configuring incomplete, errors occurred!
  error: command '/usr/bin/cmake' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyarrow)
Failed to build pyarrow

Component(s)

Python

@xiaoHaoWeb xiaoHaoWeb added the Type: usage Issue is a user question label Sep 23, 2024
@pitrou
Copy link
Member

pitrou commented Sep 23, 2024

@xiaoHaoWeb Can you please explain how you got your traceback? What platform you are using, which Python version, which command you ran, etc.

@kou kou changed the title install pyarrow wrong [Python] install pyarrow wrong Sep 24, 2024
@xiaoHaoWeb
Copy link
Author

my platform is docker Alpine,python 3.11,run pip install pyarrow

@xiaoHaoWeb
Copy link
Author

@pitrou

@pitrou
Copy link
Member

pitrou commented Sep 24, 2024

Thanks. So this is similar to #39846 : we do not provide musllinux wheels for now, so you have to build and install Arrow C++ before being able to build and install PyArrow.

@pitrou pitrou closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Python Type: usage Issue is a user question
Projects
None yet
Development

No branches or pull requests

2 participants