问题:PC端是windows系统,服务器端是Ubuntu16.04。在PC端使用jupyter notebook调试代码,在服务器上运行。
解决办法:具体如下:
服务器端:
1、安装好ipython和jupyter
pip install ipython
pip install Jupyter
2、生成配置文件
jupyter notebook --generate-config
3、生成密码
ipython
In [1]: from notebook.auth import passwd
In [2