【已解决】Caused by: org.apache.spark.SparkException: Python worker failed to connect back.

Caused by: org.apache.spark.SparkException: Python worker failed to connect back.

TypeError: ‘JavaPackage’ object is not callable

question

TypeError: ‘JavaPackage’ object is not callable

The pyspark version is too high, reinstall the pyspark environment.

Caused by: org.apache.spark.SparkException: Python worker failed to connect back error occurs

Ideas

Suggestion: PYSPARK_PYTHON = the python.exe path you use

Restart the system to make the environment take effect

image-20230927092829451

solve

Run successfully!

image-20230927092728217

Supongo que te gusta

Origin blog.csdn.net/xianyu120/article/details/133339866
Recomendado
Clasificación