jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 446 forks source link

%load_ext sparkmagic.magics doesn't work #504

Open mariaclaudia opened 5 years ago

mariaclaudia commented 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


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: 

JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)

trace.txt

Thanks for the support

mariaclaudia commented 5 years ago

Attached conda-list output. thanks conda_list.txt

kyrre commented 5 years ago

@mariaclaudia I had a similiar error and using %debug I found the root-cause to be a typo in the ~/.sparkmagic/config.json file.