higlass-python icon indicating copy to clipboard operation
higlass-python copied to clipboard

higlass for Jupyter not installing

Open stalyansky opened this issue 1 year ago • 4 comments

Steps to reproduce This command is failing for me: jupyter nbextension install --py --sys-prefix --symlink higlass

Observed behavior Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/bin/jupyter-nbextension", line 8, in sys.exit(main()) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_core/application.py", line 285, in launch_instance return super().launch_instance(argv=argv, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/traitlets/config/application.py", line 1043, in launch_instance app.start() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/nbextensions.py", line 972, in start super().start() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_core/application.py", line 274, in start self.subapp.start() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/nbextensions.py", line 702, in start self.install_extensions() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/nbextensions.py", line 675, in install_extensions full_dests = install(self.extra_args[0], File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/nbextensions.py", line 203, in install_nbextension_python m, nbexts = _get_nbextension_metadata(module) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/nbextensions.py", line 1109, in _get_nbextension_metadata raise KeyError( KeyError: 'The Python module higlass is not a valid nbextension, it is missing the _jupyter_nbextension_paths()method.'

stalyansky avatar Jun 26 '23 14:06 stalyansky

I want to know if you have already resolved this issue. I encountered the same problem when installing HiGlass on Windows.

Nuturetree avatar Sep 14 '23 08:09 Nuturetree

Same problem here. No idea how to solve it. Any suggestions?

AlcaArctica avatar Oct 16 '23 10:10 AlcaArctica

Same!

magspho avatar Nov 18 '23 20:11 magspho

Hi there, please use the latest version of HiGlass Python. You no longer should need to manually install a Jupyter extension.

pip install --upgrade --force-reinstall higlass-python

manzt avatar Nov 20 '23 19:11 manzt