Python
  • index
  • Basic - 1
  • Basic - 2
  • SQLAlchemy
  • Decorator
  • @property
  • __dict__
  • pathlib
  • class
  • flask
  • Jupyter Notebook
  • PyQt
  • UD - FLASK - PY Basic
  • UD - FLASK - REST
  • UD - FLASK - vanilla SQL
  • UD - FLASK - SQLAlchemy
  • UD - FLASK - JWT
  • UD - FLASK - Serialization
Powered by GitBook
On this page

Was this helpful?

Jupyter Notebook

PreviousflaskNextPyQt

Last updated 5 years ago

Was this helpful?

$ jupyter notebook --generate-config

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

$ 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
https://github.com/jupyter/notebook/issues/284
https://github.com/JasonYCHuang/nb_conda