apache / apache/arrow

[Python] Improve error messaging when installing pyarrow from source from sdist

Open
#37,926 1 comment 2 reactions 0 assignees View on GitHub
Component: Packaging Component: Python
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

When users do `pip install pyarrow` and in case this for whatever reason (unsupported platform, python version, ..) doesn't install a binary wheel, but downloads the sdist and tries to build pyarrow from source, this typically _always_ fails (because such user typically doesn't have Arrow C++ already pre-installed) and generally with a quite confusing error message (about not having cmake, or about cmake not finding Arrow, ..)

In our setup.py, we might be able to detect / catch this situation? (not fully sure if that is entirely trivial) And in such a case provide a more informative error message?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.