title: Jupyter使用
categories:
$ pip3 install jupyter
$ jupyter notebook
# 生成配置文件
$ jupyter notebook --generate-config
# 设置密码, 把密码加密后写入文件, 不会启动服务
$ jupyter notebook password
$ jupyter notebook --ip 0.0.0.0 --port 18800
AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
解决
$ pip3 install --force-reinstall charset-normalizer
$ jupyter lab --notebook-dir=$PWD --ip 0.0.0.0 --port 18800 --NotebookApp.token=token