Skip to content

Commit 4745a2a

Browse files
committed
Added reference for PYSPARK_PYTHON environment variable for installing local pyspark on Windows 10
1 parent ead3939 commit 4745a2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyspark/installing_pyspark_320.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pip install ipykernel
4646
python -m ipykernel install --user --name your_env --display-name "Py3.9 (pyspark_dev)"
4747

4848
# Set SPARK_HOME and PYSPARK_PYTHON environment variables
49+
# Why point PYSPARK_PYTHON to site-packages/pyspark? https://kontext.tech/column/spark/450/install-spark-300-on-windows-10
4950
set SPARK_HOME=<path_to_site_packages/pyspark_folder>
5051
set PYSPARK_PYTHON=<path_to_python.exe>
5152

0 commit comments

Comments
 (0)