You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/04 02:48:18 UTC
[GitHub] [arrow] WillAyd opened a new pull request, #14586: [Python] Update bulding docs to allow setup.py CMake invocations to find Arrow
WillAyd opened a new pull request, #14586:
URL: https://github.com/apache/arrow/pull/14586
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:
```sh
CMake Error at /home/willayd/mambaforge/envs/pyarrow-dev/share/cmake-3.24/Modules/CMakeFindDependencyMacro.cmake:47 (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.
Call Stack (most recent call first):
build/dist/lib/cmake/ArrowPython/ArrowPythonConfig.cmake:54 (find_dependency)
CMakeLists.txt:239 (find_package
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] ursabot commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306917457
['Python', 'R'] benchmarks have high level of regressions.
[ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/0bf216ed81664cf185d28a00ca54794c...5eeb98424bf9477ea45dc484b9f97887/)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #14586: ARROW-18284: [Python] Update bulding docs to allow setup.py CMake invocations to find Arrow
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306736754
https://issues.apache.org/jira/browse/ARROW-18284
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou merged pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
kou merged PR #14586:
URL: https://github.com/apache/arrow/pull/14586
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #14586: ARROW-18284: [Python] Update bulding docs to allow setup.py CMake invocations to find Arrow
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306736789
:warning: Ticket **has not been started in JIRA**, please click 'Start Progress'.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #14586: [Python] Update bulding docs to allow setup.py CMake invocations to find Arrow
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1302888410
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Thanks for opening a pull request!
If this is not a [minor PR](https://github.com/apache/arrow/blob/master/CONTRIBUTING.md#Minor-Fixes). 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](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
Then could you also rename pull request title in the following format?
ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}
or
MINOR: [${COMPONENT}] ${SUMMARY}
See also:
* [Other pull requests](https://github.com/apache/arrow/pulls/)
* [Contribution Guidelines - How to contribute patches](https://arrow.apache.org/docs/developers/contributing.html#how-to-contribute-patches)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] niranjan23d commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
niranjan23d commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1310757268
> > Got the same question when using pip to install pyarrow. When will this be updated to the Pypi?
>
> @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.
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?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] ursabot commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306917162
Benchmark runs are scheduled for baseline = 4ec92ec1f8cf54b8ad70ef4a973573bf17d9b43d and contender = 72d098b6642424696a3cab34b952196336b28a9a. 72d098b6642424696a3cab34b952196336b28a9a is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished :arrow_down:0.0% :arrow_up:0.0%] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/fde2f7f9b50e406d84a80e6d31b965ef...da0c5974e577447a8d8806efd227e839/)
[Finished :arrow_down:0.27% :arrow_up:0.1%] [test-mac-arm](https://conbench.ursa.dev/compare/runs/af8d19bb28324750976c2f60bc67bd7a...63549fed35bb4d53877a608c297e53ab/)
[Finished :arrow_down:0.54% :arrow_up:0.0%] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/0bf216ed81664cf185d28a00ca54794c...5eeb98424bf9477ea45dc484b9f97887/)
[Finished :arrow_down:0.71% :arrow_up:0.07%] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/7f36ca55cac34285ac7e4ab2e660595a...c4b415bc390643a7b5ca0022f7fa1f23/)
Buildkite builds:
[Finished] [`72d098b6` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/1828)
[Finished] [`72d098b6` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/1850)
[Finished] [`72d098b6` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/1816)
[Finished] [`72d098b6` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/1842)
[Finished] [`4ec92ec1` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/1827)
[Finished] [`4ec92ec1` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/1849)
[Finished] [`4ec92ec1` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/1815)
[Finished] [`4ec92ec1` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/1841)
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] DK-DARKmatter commented on pull request #14586: MINOR: [Python] Update bulding docs to allow setup.py CMake invocations to find Arrow
Posted by GitBox <gi...@apache.org>.
DK-DARKmatter commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1304747071
Got the same question when using pip to install pyarrow. When will this be updated to the Pypi?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] jorisvandenbossche commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
jorisvandenbossche commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306850108
> Got the same question when using pip to install pyarrow. When will this be updated to the Pypi?
@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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] niranjan23d commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
niranjan23d commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1310795946
> >
>
> I see. Thank you. I will try to install it onto python 3.10. I am trying to install it onto python 3.11
> @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
That fix totally worked! Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] jorisvandenbossche commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
jorisvandenbossche commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1306848824
@WillAyd this is a correct fix for the docs if you are setting `ARROW_HOME` to a custom path (thanks for the catch!), but just to note since I see you are using mambaforge: if you set `ARROW_HOME` to the conda env prefix path (`export ARROW_HOME=$CONDA_PREFIX`), then you don't need to set `CMAKE_PREFIX_PATH`, because in that case Arrow will be installed in the conda env standard location, and cmake will find it automatically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] WillAyd commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
WillAyd commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1310776149
@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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] niranjan23d commented on pull request #14586: ARROW-18284: [Python][Docs] Add missing CMAKE_PREFIX_PATH to allow setup.py CMake invocations to find Arrow CMake package
Posted by GitBox <gi...@apache.org>.
niranjan23d commented on PR #14586:
URL: https://github.com/apache/arrow/pull/14586#issuecomment-1310777646
>
I see. Thank you. I will try to install it onto python 3.10. I am trying to install it onto python 3.11
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org