py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getPythonAuthSocketTimeout does not exist in the JVM

原因:

    找不到spark,需要通过工具发现,方案如下

import findspark
findspark.init() 

  

 
posted @ 2022-06-14 18:25  karry2karry  阅读(783)  评论(0)    收藏  举报