question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install Slicer kernel in Jupyter

See original GitHub issue

I am getting the following error message when trying to install the Slicer kernel from SlicerJupyter extension in Slicer.

File kernel-template.json doesn’t exist in the extension directory.

[DEBUG][Qt] 05.11.2018 11:52:47 [] (unknown:0) - Switch to module:  "JupyterKernel"
[WARNING][Qt] 05.11.2018 11:52:48 [] (unknown:0) - QIODevice::read (QFile, "/Applications/Slicer_4.11_nightly.app/Contents/Extensions-27534/SlicerJupyter/share/Slicer-4.11/qt-loadable-modules/JupyterKernel/Slicer-4.11/kernel-template.json"): device not open
[WARNING][Qt] 05.11.2018 11:52:48 [] (unknown:0) - virtual bool qSlicerJupyterKernelModule::installSlicerKernel(QString)  failed: time out while launching process  "/jupyter-kernelspec"
[CRITICAL][FD] 05.11.2018 12:01:46 [] (unknown:0) - objc[15905]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa0f27c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1219c9cd8). One of the two will be used. Which one is undefined.
[WARNING][Qt] 05.11.2018 12:04:04 [] (unknown:0) - QIODevice::read (QFile, "/Applications/Slicer_4.11_nightly.app/Contents/Extensions-27534/SlicerJupyter/share/Slicer-4.11/qt-loadable-modules/JupyterKernel/Slicer-4.11/kernel-template.json"): device not open
[WARNING][Qt] 05.11.2018 12:04:04 [] (unknown:0) - virtual bool qSlicerJupyterKernelModule::installSlicerKernel(QString)  failed: time out while launching process  "/usr/local/bin/python/jupyter-kernelspec"

I installed SlicerJupyter from the extension manager.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:27 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
hannahnamcommented, Nov 15, 2018

After uninstall/reinstall pyzmq we were able to install the kernel

1reaction
lassoancommented, Nov 6, 2018

@che85 Updated SlicerJupyter extension (with more detailed logging) is available in the extension manager. Please test kernel installation using that and let me know the results. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot import ipywidgets into Slicer kernel in Jupyter ...
I have opened the Jupyter Notebook from my virtual environment, where the ipywidgets module (as the rest of the modules) has been installed....
Read more >
Use 3D Slicer from Jupyter notebook (installation) - YouTube
This video shows how to install 3D Slicer's Jupyter kernel in Anaconda, so that 3D Slicer application can be used from a Jupyter...
Read more >
Jean Christophe - SlicerJupyter: a 3D Slicer kernel ... - YouTube
Your browser can't play this video. ... This is implemented in the Slicer Jupyter kernel using ipycanvas and ipyevents packages.
Read more >
Run a python script in a different environment from ...
Slicer operates on a slicer kernel 4.10. I cannot install some packages on it. This is why I wanna call the script from...
Read more >
3D Slicer Documentation
For example, 3D Slicer + Jupyter notebook in a web ... content of a .dmg file is opened as a read-only volume, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found