问题:
I would like to include image in a jupyter notebook.我想在 jupyter 笔记本中包含图像。
If I did the following, it works :如果我执行以下操作,它会起作用:
from IPython.display import Image
Image("img/picture.png")
But I would like to include the images in a markdown cell and the following code gives a 404 error :但我想将图像包含在降价单元格中,以下代码给出了 404 错误:
![title]("img/picture.png")
I also tried我也试过
![texte]("http://localhost:8888/img/picture.png")
But I still get the same error :但我仍然得到同样的错误:
404 GET /notebooks/%22/home/user/folder/img/picture.png%22 (127.0.0.1) 2.74ms referer=http://localhost:8888/notebooks/notebook.ipynb
解决方案:
参考一: https://en.stackoom.com/question/2BozJ参考二: https://stackoom.com/question/2BozJ