Reputation: 463
i have followed instructions to integrate pyspark with jupyter but after i was done i was only able to run pyspark on the command prompt .
Basically when i am using ipython in my command it is working but when i change to jupyter it says
'"Jupyter "' is not recognized as an internal or external command,
operable program or batch file.
please SO people i am really exhausted now , please help
note : i followed this tutorial to do my integration .
till now i have followed this command :
set PYSPARK_DRIVER_PYTHON=ipython
set PYSPARK_DRIVER_PYTHON_OPTS = notebook
pyspark
it opens pyspark in cmd itself
Upvotes: 1
Views: 1174
Reputation: 140148
Windows set
command does not accept spaces before the =
sign.
fix this like that:
set PYSPARK_DRIVER_PYTHON=ipython
set PYSPARK_DRIVER_PYTHON_OPTS=notebook
pyspark
The system wants to run the "Jupyter %PYSPARK_DRIVER_PYTHON_OPTS%"
executable but instead tries to run '"Jupyter "'
hence the error you're getting.
Upvotes: 1