簡體   English   中英

如何安裝 Jupyter 筆記本的 ExecuteTime 擴展?

[英]How to install ExecuteTime extension of Jupyter notebook?

我根據https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html安裝了 Jupiter Notebook 擴展,但 ExecuteTime 一個不起作用。 它顯示消息“此 nbextension 在筆記本 json 配置中被禁用,但未提供 yaml 文件來告訴我們如何配置它。 不過,您仍然可以從此處啟用或禁用它 但是, nbextensions中的文件夾execute_time包含文件ExecuteTime.yaml 我在 MacOS 上。

卸載/重新安裝沒有幫助。 我已經在很多線程中尋找答案,但沒有解決方案。

有人對這個問題有線索嗎? 屏幕

您應該啟用執行時間。 為了這:

  1. pip 安裝 jupyterlab_execute_time
  2. 然后,重新加載 jupyterlab 頁面。
  3. 最后將go到jupyterlab高級設置中的notebook部分粘貼:

{“記錄時間”:真,}

如果它不起作用,請訪問: https://github.com/deshaw/jupyterlab-execute-time/tree/master/jupyterlab_execute_time

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM