Flower in my dev/Python

<PYTHON3> jupyter notebook 설치

꽃선생 2021. 1. 19. 18:07

jupyter notebook 설치

$ pip3 install jupyter

Login 설정

$ jupyter notebook --generate-config
$ jupyter notebook password

jupyter notebook 도움말

$ jupyter notebook --h
usage: jupyter-notebook [-h] [--debug] [--generate-config] [-y] [--no-browser]
                        [--no-mathjax] [--allow-root] [--autoreload]
                        [--script] [--no-script]
                        [--log-level NotebookApp.log_level]
                        [--config NotebookApp.config_file]
                        [--ip NotebookApp.ip] [--port NotebookApp.port]
                        [--port-retries NotebookApp.port_retries]
                        [--sock NotebookApp.sock]
                        [--sock-mode NotebookApp.sock_mode]
                        [--transport KernelManager.transport]
                        [--keyfile NotebookApp.keyfile]
                        [--certfile NotebookApp.certfile]
                        [--client-ca NotebookApp.client_ca]
                        [--notebook-dir NotebookApp.notebook_dir]
                        [--browser NotebookApp.browser]
                        [--pylab [NotebookApp.pylab]]
                        [--gateway-url GatewayClient.url]
                        [extra_args [extra_args ...]]
jupyter-notebook: error: argument --h: expected one argument

jupyter notebook 실행

$ jupyter notebook --ip 0.0.0.0 --port 8080

alias jn='jupyter notebook --ip=0.0.0.0 --port 8080'