jupyterlab / jupyterlab-metadata-service

Linked data exploration in JupyterLab.
BSD 3-Clause "New" or "Revised" License
29 stars 16 forks source link

Installing Extension #29

Closed koliphan2 closed 5 years ago

koliphan2 commented 5 years ago

When starting a new environment and installing jupyterlab, then going straight to the Metadata Service Extension, the instructions provided for installation do not work.

jupyter labextension install @jupyterlab/metadata

When the code above is entered, this error appears:

Screen Shot 2019-08-12 at 6 24 37 PM

Perhaps this is an issue with where I am doing the code. Where is this supposed to be done? (In relation to the Jupyterlab install code)

Going to the development instructions to see if I can instead do that, and then running jupyter labextension link . gives a ‘failed to build’ run time error as well.

jasongrout commented 5 years ago

What does that error file say?

koliphan2 commented 5 years ago

The log file?

Screen Shot 2019-08-12 at 8 15 02 PM

It also mentions that a complete log of this run can be found elsewhere, so I'll also provide that in case it's needed.

Screen Shot 2019-08-12 at 8 19 27 PM
saulshanabrook commented 5 years ago

I will look into this, thank you for opening an issue.

saulshanabrook commented 5 years ago

Ah, the issue is that the package name is @jupyterlab/metadata-extension. Try this?

jupyter labextension install @jupyterlab/metadata-extension @jupyterlab/dataregistry-extension
koliphan2 commented 5 years ago

I just attempted this again to check and see if it is working, but it is not. When trying to install the extension within the jupyterlab page, it is able to install the data registry and rebuild just fine, but the metadata one is still not working properly within the lab. image

When trying to install in within the terminal, a KeyError is given. '@jupyterlab/apputils'. The log file gives the details. image

saulshanabrook commented 5 years ago

Could you try upgrading jupyterlab? pip install -U jupyterlab