Help Center/ Data Lake Insight/ FAQs/ Problems Related to Spark Jobs/ O&M Guide/ Why Can't I Find the Specified Python Environment After Adding the Python Package?
Updated on 2023-05-19 GMT+08:00

Why Can't I Find the Specified Python Environment After Adding the Python Package?

I cannot find the specified Python environment after adding the Python 3 package.

Set spark.yarn.appMasterEnv.PYSPARK_PYTHON to python3 in the conf file to specify the Python 3 environment for the compute cluster.

New clusters use the Python 3 environment by default.