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:55:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Yikun Jiang updated SPARK-34979:
--------------------------------
    Description: 
$ 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.

 

 

  was:
$ pip install pyspark[sql] --prefer-binary
// ... ...
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

 

 


> 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