代码:!apt-get install 'openjdk-19-jre-headless' -qq > /dev/null!wget -q https://dlcdn.apache.org/spark/spark-3.5.1/spark-3.5.1-bin-hadoop3.tgz!tar xf spark-3.5.1-bin-hadoop3.tgz!pip 安装...
代码:
!apt-get install 'openjdk-19-jre-headless' -qq > /dev/null
!wget -q https://dlcdn.apache.org/spark/spark-3.5.1/spark-3.5.1-bin-hadoop3.tgz
!tar xf spark-3.5.1-bin-hadoop3.tgz
!pip install -q findspark
错误:
tar: spark-3.5.1-bin-hadoop3.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
在 Google Colab 上安装 Spark 时出现错误。