jupyter notebook --ip=0.0.0.0 --no-browser --allow-root
产生如下错误,提示spider
环境下无法找到jupyter-notebook
Traceback (most recent call last):
File "/root/anaconda3/envs/spider/bin/jupyter", line 11, in <module>
sys.exit(main())
File "/root/anaconda3/envs/spider/lib/python3.8/site-packages/jupyter_core/command.py", line 247, in main
command = _jupyter_abspath(subcommand)
File "/root/anaconda3/envs/spider/lib/python3.8/site-packages/jupyter_core/command.py", line 133, in _jupyter_abspath
raise Exception(
Exception: Jupyter command `jupyter-notebook` not found.
jupyter notebook
pip install jupyter notebook