How to fix 'TypeError: an integer is required (got type bytes)' error when trying to run pyspark after installing spark 2.4.4

后端 未结 4 1211
温柔的废话
温柔的废话 2020-12-28 12:05

I\'ve installed OpenJDK 13.0.1 and python 3.8 and spark 2.4.4. Instructions to test the install is to run .\\bin\\pyspark from the root of the spark installation. I\'m not

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-28 12:47

    This is happening because you're using python 3.8. The latest pip release of pyspark (pyspark 2.4.4 at time of writing) doesn't support python 3.8. Downgrade to python 3.7 for now, and you should be fine.

提交回复
热议问题