Unable to fully enable extension manager

Hi,
Total newbie, I am stock on switching extension manager from read-only to pypi or whatever which would allow me to manage/discover extension from there.
Fresh installation of Jupyterlab via miniconda3. labextension is installed. I have cleared the warning disclaimer.
Probably obvious but I can’t figure out how to overcome this situation.

I tried the config file jupyter_lab_config.py, forcing extension_manager=pypi, though it is supposed to be by default.
Any idea what I am missing?

1 Like

I wouldn’t mix things up in jupyterlab. If you want to use pypi as extension source, install jupyterlab via pip in the first place.

oh, ok, I understand.
So if using pypi is not recommended or straightforward with conda, do you know what is the recommandation to benefit from extension via extension manager with conda, if any?

I tried the config file jupyter_lab_config.py , forcing extension_manager=pypi , though it is supposed to be by default.

Yes, this is the default. Since ~24 hours ago on new installations of JupyterLab the PyPI manger is failing because of a new release of httpx, see Failed to instantiate the extension manager pypi · Issue #17012 · jupyterlab/jupyterlab · GitHub. This is fixed in developement version of JupyterLab but we cannot release a new version due to an unrelaged release blocker. You should be able to downgrade httpx to version older than 0.28.0 and it should just work

1 Like

I think we should just add GitHub - conda-incubator/conda-pypi: Better PyPI interoperability for the conda ecosystem wrapper and be done with it. Bu yes, you are right that currently using PyPI manager in conda environment does not guarantee that everything will be rosy (though frankly for frontend-only extensions it generally will be fine).

3 Likes

thanks!! (+I have followed your advice about conda-pypi)

conda install conda-forge::httpx=0.27.2