Jupyter Notebook

https://github.com/jupyter/notebook/issues/284

$ jupyter notebook --generate-config

// c.NotebookApp.tornado_settings = { 'headers': { 'Content-Security-Policy': "frame-ancestors 'self' http://localhost:3000/" } }

https://github.com/JasonYCHuang/nb_conda

$ conda create -y -n nb_conda python
$ conda install -y -n nb_conda --file requirements.txt -c conda-forge
$ source activate nb_conda
$ python setup.py develop

$ jupyter nbextension install nb_conda --py --sys-prefix --symlink
$ jupyter nbextension enable nb_conda --py --sys-prefix
$ jupyter serverextension enable nb_conda --py --sys-prefix


$ conda create --name notebook numpy flask
$ source activate notebook
$ conda install jupyter

Last updated

Was this helpful?