79198037

Date: 2024-11-17 19:59:54
Score: 1
Natty:
Report link

As mentioned in the official docs (https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html#using-virtualenv), you have to either export environment variable PYSPARK_DRIVER_PYTHON and PYSPARK_PYTHON to the python binary you're using (i.e. the one in the bin folder of virtualenv directory) or set the path as sparkConf spark.pyspark.python and spark.pyspark.driver.python.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: noninertialframe