这几天遇到的坑,安装了pyenv和ipython以及jupyter notebook,然后也启动了
[python@192.168.1.77 RINGOO-1]: ~/project 0> jupyter notebook --ip=0.0.0.0 [I 07:26:32.241 NotebookApp] Serving notebooks from local directory: /home/python/project [I 07:26:32.241 NotebookApp] The Jupyter Notebook is running at: [I 07:26:32.242 NotebookApp] http://(RINGOO-1 or 127.0.0.1):8888/ [I 07:26:32.242 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 07:26:32.263 NotebookApp] No web browser found: could not locate runnable browser.
但是打开网页一直都不显示,之前以为是自己的dns网关和虚拟机的不同,然后就一直检查啊检查,排错啊排错
然后就在刚才突然想起是不是iptables上一次没有关闭,于是执行命令试了一下
/etc/init.d/iptables stop
再开启jupyter notebook后发现网页打开了。。。
哎~真的被自己蠢哭了。。。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31442725/viewspace-2645434/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31442725/viewspace-2645434/