我正在尝试在Google Cloud Platform中设置Jupyter笔记本,但失败。
我尝试过方法:(将其发布以节省其他人的时间)
sudo apt-get update
sudo apt-get --assume-yes upgrade
sudo apt-get --assume-yes install software-properties-common
sudo apt-get install python-setuptools python-dev build-essential
sudo easy_install pip
sudo pip install jupyter ...
jupyter notebook --genrate-config
sudo nano ~/.jupyter_notebook_config.py
c=get_config()
c.NotebookApp.ip='*'
c.NotebookApp.open_browser=False
c.NotebookApp.port=8000
jupyter notebook password
jupyter notebook --ip=0.0.0.0 --port=8000
您可以参考此文件在GCP中安装Jupyterhttps://cloud.google.com/dataproc/docs/tutorials/jupyter-notebook