You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2021/04/07 08:57:00 UTC

[jira] [Comment Edited] (SPARK-34979) Failed to install pyspark[sql] (due to pyarrow error)

    [ https://issues.apache.org/jira/browse/SPARK-34979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316131#comment-17316131 ] 

Yikun Jiang edited comment on SPARK-34979 at 4/7/21, 8:56 AM:
--------------------------------------------------------------

The pyarrow aarch64 support has been merged to pyarrow master.

[https://github.com/apache/arrow/pull/9285]

So, as the tmp workground, you could install nightly arrow wheels first, using:

 pip install --extra-index-url [https://pypi.fury.io/arrow-nightlies/] --pre pyarrow --prefer-binary

And the arrow community will release next version (maybe 4.0) to support install pyarrow in aarch64 a couple of weeks.[1]

 


was (Author: yikunkero):
As the tmp workground, you could install nightly arrow wheels first, using:

 pip install --extra-index-url https://pypi.fury.io/arrow-nightlies/ --pre pyarrow --prefer-binary

And the arrow community will release next version to support install pyarrow in aarch64 a couple of weeks.[1]



 

> Failed to install pyspark[sql] (due to pyarrow error)
> -----------------------------------------------------
>
>                 Key: SPARK-34979
>                 URL: https://issues.apache.org/jira/browse/SPARK-34979
>             Project: Spark
>          Issue Type: Task
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Yikun Jiang
>            Priority: Major
>
> $ pip install pyspark[sql] --prefer-binary
> Collecting pyarrow>=1.0.0
>  Using cached pyarrow-3.0.0.tar.gz (682 kB)
>  Installing build dependencies ... done
>  Getting requirements to build wheel ... done
>  Preparing wheel metadata ... done
>  // ... ...
>  Building wheels for collected packages: pyarrow
>  Building wheel for pyarrow (PEP 517) ... error
>  ERROR: Command errored out with exit status 1:
>  command: /root/venv/bin/python3.8 /tmp/tmpv35m1o0g build_wheel /tmp/tmpq0n5juib
>  cwd: /tmp/pip-install-sh0myu71/pyarrow
>  Complete output (183 lines):
> – Running cmake for pyarrow
>  cmake -DPYTHON_EXECUTABLE=/root/venv/bin/python3.8 -DPython3_EXECUTABLE=/root/venv/bin/python3.8 -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /tmp/pip-install-sh0myu71/pyarrow
>  error: command 'cmake' failed with exit status 1
>  ----------------------------------------
>  ERROR: Failed building wheel for pyarrow
>  Failed to build pyarrow
>  ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
>  
> The pip installation would be failed, due to the dependency pyarrow install failed.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org