0


pyspark TypeError: code() argument 13 must be str, not int

报错:

pyspark3.0.0执行pyspark demo代码 报错

原因:

python当时的版本是3.1.0

与pyspark3.0.0不兼容

Spark Python Integration Test Result Exceptions - Cloudera Community - 369007

解决方法:

因此方法就是升级python的版本,pyspark3.0.0和python3.8、3.7都兼容

成功运行:

标签: pyspark spark python

本文转载自: https://blog.csdn.net/weixin_53359823/article/details/137093096
版权归原作者 赤土 炙焱 所有, 如有侵权,请联系我们删除。

“pyspark TypeError: code() argument 13 must be str, not int”的评论:

还没有评论