terencehonles commented on pull request #8386: URL: https://github.com/apache/arrow/pull/8386#issuecomment-754763790
> @terencehonles Thanks a lot. I installed pyarrorw sucessfully. > > I was just curious that when I type `pip install pyarrow` the error log shows that it was stopped during install numpy, which is already installed in my environment (maybe the version is too advanced?). > > I thought that figure it out may help me to understand deeper about python package installing process. I'm assuming you mean trying to install the most recently released pyarrow before you installed via crossbow? That's because pyarrow has a source distribution and you're trying to build from source. [Pip will not have installed numpy at install time](https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support) and is working to make isolated installs the default, if you have numpy already installed the version you have _may_ be an issue, but I think it's more likely it's too old not too new. You can try using the flag `--no-use-pep517` when running `pip install pyarrow` to see if your system has all the dependencies needed to build pyarrow (likely not, and that's why the CI is building it). Optionally [you can make pip more verbose](https://pip.pypa.io/en/stable/reference/pip/#cmdoption-v) with `-v`. pyarrow is probably not the easiest to learn about Python's build process on, but you should read [their documentation](https://arrow.apache.org/docs/developers/python.html#python-development) if you would like to actually be able to build it from source. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
