問題:
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