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
ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package #14586
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename pull request title in the following format?
or
See also: |
Got the same question when using pip to install pyarrow. When will this be updated to the Pypi? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Good catch!
@WillAyd this is a correct fix for the docs if you are setting |
@DK-DARKmatter I don't think there is anything to "update" for the PyPI packages. If you want to install from source from PyPI, you as user are responsible for ensuring you also have Arrow C++ and have set up the correct env variables to ensure building pyarrow will find that. |
Benchmark runs are scheduled for baseline = 4ec92ec and contender = 72d098b. 72d098b is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
['Python', 'R'] benchmarks have high level of regressions. |
Hello, I am attempting to install Arrow C++ by "pip install pyarrow". I am getting the same error. What change do I need to do to fix it? |
@niranjan23d @DK-DARKmatter it sounds like you are trying to pip install pyarrow on a platform or version of Python where a wheel is not available. Unless you care to install from source your best bet is to look for a wheel or use conda/mamba |
I see. Thank you. I will try to install it onto python 3.10. I am trying to install it onto python 3.11 |
That fix totally worked! Thank you! |
Following along the build documentation CMake was unable to find the arrow installation when the documentation gets to the point of invoking setup.py. This should fix that and prevent errors like: