-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Lab does not find extensions #14965
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@Iwo-KX Thank you for your contribution! Have you tried installing JupyterLab and extensions using conda or mamba, as described in the installation instructions? That's typically how I install extensions, and I've had success this way. |
@JasonWeill Thank you for the reply. brew/pip has been my solution to manage python/JupyterLab environment for some time and it worked quite well for me. It would be great to know why JupyterLab is not seeing the extensions but, in the meantime, I will try switching to conda as you suggested. Thanks! |
Hi! I believe I'm having a similar issue, also on an M2 Mac. I've tried both the pip version of Jupyterlab as well as the Brew build, and neither see extensions installed via pip. Extensions also fail to install via the web interface, but don't give an error message. I have tried clean installs and all of that and still have no luck. I do not have conda, but I can try that in the future. Either way, additional reports might help figure this issue out. At the moment, I have successfully installed extensions via MacOS 13.4.1 (c) Output of
Other versions:
Paths:
pip packages are installed to Happy to help in any way! Cheers! |
I'm seeing the same issue. |
You are using JupyterLab 3.x. This issue is about JupyterLab 4.0. There are completely different extension managers between the two. I am afraid the extension manager in JupyterLab 3 will not receive further developement as it is using source install method which is no longer supported for installation of extensions from UI. |
Ah, sorry-- missed that. Deleted my comment so it doesn't confuse things. |
Thanks for the reply @krassowski
|
How exactly are you invoking pip? It appears to be a conflict between how jupyterlab was installed and what pip is pointing to. If you use pip within ipykernel notebook you should use |
I've used pip with the command line with the default settings/paths. If I run |
I met the similar problems, neither from $ jupyter labextension list
JupyterLab v4.0.5 However, I also tried to use Homebrew to install Jupyter Lab $ jupyter labextension list
JupyterLab v4.0.5
/opt/homebrew/Cellar/jupyterlab/4.0.5_1/libexec/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
@jupyter-notebook/lab-extension v7.0.3 enabled OK
@axlair/jupyterlab_vim v4.0.3 enabled OK (python, jupyterlab_vim)
The following extensions are outdated:
jupyterlab_pygments
Consider checking if an update is available for these packages. In fact, I noticed with the version installed by homebrew, it will have two extra extensions by default, they are |
Similar problem here with opensuse tumbleweed:
I verified that no other versions of ipyparallel or pygments are installed.
Note that |
Hi all, Made it work with pip by installing on user:
for me it installed it in Hope it works for you as well |
According to the ❯ jupyter --paths
config:
/Users/zzyang/.jupyter
/Users/zzyang/Library/Python/3.11/etc/jupyter
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/Users/zzyang/Library/Jupyter
/Users/zzyang/Library/Python/3.11/share/jupyter
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/Users/zzyang/Library/Jupyter/runtime For instances where Python is installed using homebrew, it's noteworthy that the pip packages are located in In addition, we can observed that
The reason for this symbolic link is unclear to me. I'm wondering if it would be better to make the latter a symbolic link to the former. To address this issue, we have a few potential solutions:
|
Adding |
Hi,
First of all I would like to thank you all for building such a fantastic tool!
Recently I've encountered an issue with the Jupyter Lab extensions, that I could some help with with. Jupyter Lab works just fine, but it seems that it does not detect any installed extensions. For instance I've installed jupytext with pip, which can be imported in python, but it does not appear on extensions list (I've also tried other extensions):
I suspect that I am missing something in my configuration that would point jupyter lab to the extensions.
My setup:
MacOS 12.6.7 on M2 Mac with python3 and node installed via brew. Jupyterlab installed via pip.
Jupyter lab startup:
Jupyter lab paths:
Path to the installed package jupytext:
Versions:
Python 3.11.4
jupyter_client 8.3.0
jupyter_core 5.3.1
jupyter-events 0.7.0
jupyter-lsp 2.2.0
jupyter_server 2.7.0
jupyter-server-mathjax 0.2.6
jupyter_server_terminals 0.4.4
jupyterlab 4.0.4
jupyterlab_git 0.42.0
jupyterlab-pygments 0.2.2
jupyterlab_server 2.24.0
jupyterlab_vim 4.0.2
jupytext 1.15.0
ipykernel 6.25.1
ipython 8.14.0
Many thanks in advance for your help.
Best wishes,
Iwo
The text was updated successfully, but these errors were encountered: