related htmltools

after launching Jupyter notebook and I tried to run a R notebook. But I am getting some error related to htmltools that it is not installed, but I did and it says kernel is not ready.

jupyter notebook ─╯
[I 01:29:06.612 NotebookApp] The port 8888 is already in use, trying another port.
[I 01:29:06.613 NotebookApp] The port 8889 is already in use, trying another port.
[I 01:29:06.614 NotebookApp] The port 8890 is already in use, trying another port.
[I 01:29:06.614 NotebookApp] The port 8891 is already in use, trying another port.
[I 01:29:06.615 NotebookApp] The port 8892 is already in use, trying another port.
[I 01:29:06.616 NotebookApp] Serving notebooks from local directory: /Users/ajaysharma/Downloads/PhD_Work/Sources_study/REDFIT
[I 01:29:06.616 NotebookApp] Jupyter Notebook 6.5.2 is running at:
[I 01:29:06.616 NotebookApp] http://localhost:8904/?token=6ce352b6feb043170aab862d0ee318d8ef1b2c59f3c5261c
[I 01:29:06.616 NotebookApp] or http://127.0.0.1:8904/?token=6ce352b6feb043170aab862d0ee318d8ef1b2c59f3c5261c
[I 01:29:06.616 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 01:29:06.651 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/ajaysharma/Library/Jupyter/runtime/nbserver-64768-open.html
Or copy and paste one of these URLs:
    http://localhost:8904/?token=6ce352b6feb043170aab862d0ee318d8ef1b2c59f3c5261c
 or http://127.0.0.1:8904/?token=6ce352b6feb043170aab862d0ee318d8ef1b2c59f3c5261c

[W 01:29:14.342 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20221224012905 (::1) 23.380000ms referer=http://localhost:8904/notebooks/REDFIT-WWZ-LSP.ipynb
[I 01:29:16.742 NotebookApp] Kernel started: 32e5766a-e790-46d4-993b-a34aec7e9193, name: ir
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:29:19.721 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:29:22.753 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:29:25.787 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:29:28.822 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:29:31.855 NotebookApp] KernelRestarter: restarting kernel (5/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

hello,

while running a R notebook, I am getting some error related to htmltools, it says this package is not installed but I already installed it using conda

[I 01:37:51.238 NotebookApp] Serving notebooks from local directory: /Users/ajaysharma/Downloads/PhD_Work/Sources_study/REDFIT
[I 01:37:51.239 NotebookApp] Jupyter Notebook 6.5.2 is running at:
[I 01:37:51.239 NotebookApp] http://localhost:8986/?token=321ff2aa7cdc13ed46110db3cc10d16da52701f3a2a8039a
[I 01:37:51.239 NotebookApp] or http://127.0.0.1:8986/?token=321ff2aa7cdc13ed46110db3cc10d16da52701f3a2a8039a
[I 01:37:51.239 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 01:37:51.275 NotebookApp]

To access the notebook, open this file in a browser:
    file:///Users/ajaysharma/Library/Jupyter/runtime/nbserver-65025-open.html
Or copy and paste one of these URLs:
    http://localhost:8986/?token=321ff2aa7cdc13ed46110db3cc10d16da52701f3a2a8039a
 or http://127.0.0.1:8986/?token=321ff2aa7cdc13ed46110db3cc10d16da52701f3a2a8039a

[W 01:37:58.013 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20221224013750 (::1) 21.600000ms referer=http://localhost:8986/notebooks/REDFIT-WWZ-LSP.ipynb
[I 01:38:00.550 NotebookApp] Kernel started: b059d9d4-713f-4d6d-b4c8-d57a3d304e86, name: ir
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:38:03.518 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:38:06.554 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:38:09.594 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
[I 01:38:12.649 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘htmltools’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.