-
Notifications
You must be signed in to change notification settings - Fork 31
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: neo4jupyter.init_notebook_mode() -> Javascript Error: require is not defined #7
Comments
I'll check it out, thanks ! |
Thanks for looking into this. I'm using Jupyter Lab version 1.2.6.
I'm trying to visualize a knowledge graph I've created in this repo:
https://github.com/sbl-sdsc/coronavirus-knowledge-graph
There is a Launch Binder link, so you can run the notebooks in your web
browser if you've like to reproduce the issue.
…On Thu, Feb 13, 2020 at 2:56 AM Gabi Maeztu ***@***.***> wrote:
I'll check it out, thanks !
Can you check the jupyterlab version ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7?email_source=notifications&email_token=AA53AEEZ6PDREDVPWEPHVLTRCURLRA5CNFSM4KUL4DDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELUJPJA#issuecomment-585668516>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA53AECGVOWFR7RO6FMYESLRCURLRANCNFSM4KUL4DDA>
.
|
Thanks ! I'll try to check it this weekend |
@merqurio we are trying to use neo4jupyter for our coronavirus KG. If you have a chance, could you look into the 0.2.0 milestones? You could save a life! |
@pwrose Using jupyter notebook instead of jupyter lab may work |
@DoubleBite yes, jupyter notebook works, but we have switched all our work
to jupyter lab.
…On Thu, Jun 11, 2020 at 12:04 AM DoubleBite ***@***.***> wrote:
@pwrose
<https://urldefense.com/v3/__https://github.com/pwrose__;!!Mih3wA!SGmxCKJ8P3qLdk_VKuZMM0WKeDIHyzHL3-I_FPiJ4u2e-0_nUYqpJ_l93UJ3EjY$>
Using jupyter notebook instead of jupyter lab may work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/merqurio/neo4jupyter/issues/7*issuecomment-642454032__;Iw!!Mih3wA!SGmxCKJ8P3qLdk_VKuZMM0WKeDIHyzHL3-I_FPiJ4u2e-0_nUYqpJ_l9kUCh4hM$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AA53AEES6YZLXGZHFQGWJSLRWB6WJANCNFSM4KUL4DDA__;!!Mih3wA!SGmxCKJ8P3qLdk_VKuZMM0WKeDIHyzHL3-I_FPiJ4u2e-0_nUYqpJ_l9blNqLtA$>
.
|
Just ran into this myself. Turns out Jupyterlab does not include require.js while jupyter does. Jupyterlab folks didn't want developers using require.js to load dependencies, so they left it out and don't plan on adding it back. They recommended adding a lab extension. Someone did make a requirejs lab extension for jupyterlab but it only works on older versions. Easy fix is to copy require.js to the same directory that has your ipynb file and then
in a cell before you
Originally I thought you could copy the file locally and do the following to import it, but this does not work
|
neo4jupyter (v 0.1.2) doesn't seem to work in Jupyter Lab:
import neo4jupyter
neo4jupyter.init_notebook_mode()
Javascript Error: require is not defined
The text was updated successfully, but these errors were encountered: