Closed XiongYuZhang closed 1 year ago
I do not quite understand. Do you mean the latest version of notebook
is preventing the installation of nbextensions
? I have seen error reports related to nbextension
and I though that pip install nbextension
would fix it.
I had another look at the issue and tried to remove the jupyter_contrib_nbextensions
dependency. Hopefully sos-notebook
0.24.2 is free of this problem.
Hi Bo, my mean is that the command "python -m sos_notebook.install" can pass in terminal of my computer when I change the version of the notebook. Before solving the problem successfully, I checked the notebook version and found that the version is 7.0.0. Hence, I decreased the version with command "pip install notebook==6.5.4", and then run again with the following commands:
pip install notebook jupyterlab jupyter_contrib_nbextensions pip install docker markdown wand graphviz imageio pillow nbformat feather-format --no-cache-dir pip install sos sos-notebook sos-r sos-pbs sos-python sos-bash -U --no-cache-dir python -m sos_notebook.install
fortunately, this time the error "ModuleNotFoundError: No module named ‘notebook.nbextensions '" is disappeared successfully.
Hi Bo, than you so much for replying my question.
From: Bo @.> Sent: Sunday, July 30, 2023 10:09 To: vatlab/sos-notebook @.> Cc: Xiong, Xingliang @.>; Author @.> Subject: [EXTERNAL] Re: [vatlab/sos-notebook] An effective method for solving a problem in the pip installation for SoS Suite (Issue #348)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
I had another look at the issue and tried to remove the jupyter_contrib_nbextensions dependency. Hopefully sos-notebook 0.24.2 is free of this problem.
— Reply to this email directly, view it on GitHubhttps://github.com/vatlab/sos-notebook/issues/348#issuecomment-1656996624, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2YARCC4UQK2GJULN5F2SELXSW66BANCNFSM6AAAAAA24DBX44. You are receiving this because you authored the thread.Message ID: @.***>
T
Recently, I needed to complete the JupyterLab + SoS Suite setup. During SoS Suite installation, when I typed the command "python -m sos_notebook.install" in the terminal. It appeared an error as follow:
I have tried many ways to solve the problem, but all these ways were invalid. In the end, I checked the version of the Jupyter notebook and found that the version was very high. Hence, I updated the version and implemented the "pip" installation steps again in the terminal. The details are as follows:
first, type the follow command:
after finishing the above installation, go back to the "Base notebook" and "SoS Suite" installations, that is, type some commands given in the follows:
then, the error "ModuleNotFoundError: No module named ‘notebook.nbextensions '" was disappeared successfully.