fly_Forests
fly_Forests
2020-03-05 19:24
采纳率: 0%
浏览 536

学深度学习,用Anaconda Prompt激活gluon后打不开jupyter notebook

今日开始学习深度学习,参考书《动手学深度学习》,在Anaconda Prompt中依次执行过以下代码:

conda env create -f environment.yml
conda activate gluon
jupyter notebook

第一次报错,显示jupyter不是内部或外部命令
尝试以下方法,参考https://blog.csdn.net/weixin_41813895/article/details/84750990

conda install ipykernel
python -m ipykernel install --name gluon
(gluon) D:\anaconda\anaconda>jupyter notebook
Traceback (most recent call last):
  File "D:\anaconda\anaconda\envs\gluon\Scripts\jupyter-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\anaconda\anaconda\envs\gluon\lib\site-packages\jupyter_core\command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "D:\anaconda\anaconda\envs\gluon\lib\site-packages\jupyter_core\command.py", line 134, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-notebook` not found.

再次打开jupyter notebook失败,显示Exception: Jupyter command jupyter-notebook not found.

求各位帮助解决一下。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

相关推荐