Open mariaclaudia opened 5 years ago
Hi all
I've executed the following steps in order to use sparkmagic fron Jupyter notebook:
conda create -n spark python=3
add kernel
conda install -n spark ipykernel
jupyter nbextension enable
jupyter nbextension enable --py --sys-prefix widgetsnbextension
activate environment
source activate spark
install sparkmagic
pip install sparkmagic
lunch jupyter notebook with the new 'sparl' kernel
execute !pip show sparkmagic
!pip show sparkmagic
Version: 0.12.5 Summary: SparkMagic: Spark execution via Livy Home-page: https://github.com/jupyter-incubator/sparkmagic Author: Jupyter Development Team Author-email: jupyter@googlegroups.org License: BSD 3-clause Location: /Users/mary/anaconda3/lib/python3.6/site-packages Requires: hdijupyterutils, requests, autovizwidget, ipywidgets, ipython, ipykernel, notebook, numpy, tornado, pandas, requests-kerberos, nose, mock Required-by:
%load_ext sparkmagic.magics
JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
trace.txt
Thanks for the support
Attached conda-list output. thanks conda_list.txt
@mariaclaudia I had a similiar error and using %debug I found the root-cause to be a typo in the ~/.sparkmagic/config.json file.
Hi all
I've executed the following steps in order to use sparkmagic fron Jupyter notebook:
conda create -n spark python=3
add kernel
conda install -n spark ipykernel
jupyter nbextension enable
jupyter nbextension enable --py --sys-prefix widgetsnbextension
activate environment
source activate spark
install sparkmagic
pip install sparkmagic
lunch jupyter notebook with the new 'sparl' kernel
execute
!pip show sparkmagic
%load_ext sparkmagic.magics
The following message is displayed (please see trace.txt attached):JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
trace.txt
Thanks for the support