Closed bhope78 closed 3 years ago
I'm working through Jupyter Lab extension build issues myself right now, so I'll add details of anything that works for me as I come across them. What versions of the various Jupyter components do you have?
$ sudo pip freeze | grep jupyt
jupyter==1.0.0
jupyter-client==5.3.3
jupyter-console==6.0.0
jupyter-core==4.5.0
jupyterhub==1.0.0
jupyterlab==1.1.4
jupyterlab-server==1.0.6
nteract-on-jupyter==2.0.7
I have the similar problem. I cannot install and update extension in jupyterlab. Could you help me?
On a fresh install from yesterday, I get this same issue but I haven't installed any extensions. I'm warned I need to do a build and then the build fails from the UI or terminal.
_--- Logging error --- Traceback (most recent call last): File "/opt/tljh/user/lib/python3.7/shutil.py", line 493, in rmtree os.rmdir(path) PermissionError: [Errno 13] Permission denied: '/opt/tljh/user/share/jupyter/lab/staging'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/tljh/user/lib/python3.7/logging/init.py", line 1034, in emit
msg = self.format(record)
File "/opt/tljh/user/lib/python3.7/logging/init.py", line 880, in format
return fmt.format(record)
File "/opt/tljh/user/lib/python3.7/site-packages/traitlets/config/application.py", line 117, in format
return super(LevelFormatter, self).format(record)
File "/opt/tljh/user/lib/python3.7/logging/init.py", line 627, in format
record.exc_text = self.formatException(record.exc_info)
File "/opt/tljh/user/lib/python3.7/logging/init.py", line 577, in formatException
traceback.print_exception(ei[0], ei[1], tb, None, sio)
File "/opt/tljh/user/lib/python3.7/traceback.py", line 104, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/opt/tljh/user/lib/python3.7/traceback.py", line 476, in init
if (exc_value and exc_value.cause is not None
AttributeError: 'str' object has no attribute 'cause'
Call stack:
File "/opt/tljh/user/bin/jupyter-lab", line 10, in
Normally installation by click will not work.you have to install it by CMD line at terminal in Jupyter
Please remenber sudo -E
before any installation
Indeed sudo -E
need to be used to make changes about this, so perhaps sudo -E jupyter lab build
?
I'll close this as a bit too outdated at this point to keep tracking in this issue. I see no concrete action point to take with regards to changing content in docs or TLJH itself at this point.
Thanks @consideRatio. I was aware of the sudo -E
thing but unaware that jupyter lab build
was necessary.
@timhuff note that jupyter lab build
is only relevant for jupyterlab 2 or jupyterlab 2 specific extensions you have installed. JupyterLab 3+ doesn't need that.
Hello I am not sure where to go with this now, tried enabling a couple extensions but received a Jupyterlab build error
After an attempting build I get this error:
I tried to different build methods with the following errors
jupyterlab build