This repository was archived by the owner on May 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Error on init_datatables_mode() - Comms haven't been initialized properly #30
Copy link
Copy link
Open
Labels
awaits approvalA fix has been proposed and awaits approvalA fix has been proposed and awaits approvalbugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Trying an install from pip and direct from the repo, I get an error trying to iniitialise the package as per the docs:
from jupyter_datatables import init_datatables_mode
init_datatables_mode()
---------------------------------------------------------------------------
CommError Traceback (most recent call last)
<ipython-input-1-4bdde0100650> in <module>
5 from jupyter_datatables import init_datatables_mode
6
----> 7 init_datatables_mode()
/usr/local/lib/python3.7/site-packages/jupyter_datatables/__init__.py in init_datatables_mode(options, classes)
94 extensions = config.defaults.extensions
95
---> 96 require("d3", "https://d3js.org/d3.v5.min")
97 require("d3-array", "https://d3js.org/d3-array.v2.min")
98
/usr/local/lib/python3.7/site-packages/jupyter_require/core.py in __call__(self, library, path, *args, **kwargs)
111 :param path: str, path (url) to the library without .js suffix
112 """
--> 113 self.config({library: path}, shim=kwargs.pop('shim', {}))
114
115 @property
/usr/local/lib/python3.7/site-packages/jupyter_require/core.py in config(self, paths, shim)
158 """
159 if not require._is_initialized:
--> 160 raise CommError("Comms haven't been initialized properly.")
161
162 self.__LIBS.update(paths)
CommError: Comms haven't been initialized properly.. HINT: Try reloading <F5> the window.Metadata
Metadata
Assignees
Labels
awaits approvalA fix has been proposed and awaits approvalA fix has been proposed and awaits approvalbugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed