-
Notifications
You must be signed in to change notification settings - Fork 41
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
nbtutor not working in jupyter notebook and jupyter lab #39
Comments
can anyone here help me to fix it |
@ciscohack Hi there. First you have to install the sudo pip install nbtutor
# or use conda, if your python came with conda !
code install nbtutor Then activate it: sudo jupyter nbextension install --overwrite --py nbtutor
sudo jupyter nbextension enable --py nbtutor Note that it doesn't work for me either. |
Hi Naereen, Thanks for the response. yes I did same steps but seems in latest jupyter nptutor not working or compatible |
Should be fixed in #44 |
@ciscohack please try again with the latest version of nbtutor and reopen this ticket if the issue persists |
Hi Team,
I am new with jupyter notebook and pythong. I just installed fresh jupyter notebook and jupyter lab. then i followed the suggested method to install nbtutor for jupyter i.e.(conda install -c conda-forge nbtutor) after installtion when i am trying to use nbtutor in my notebook while loading nbtutor i am getting traceback saying there is not module exist. i tried multiple time but nbtutor not working. can someone help me to resolve the problem.
here is the traceback detail.
%load_ext nbtutor
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 get_ipython().run_line_magic('load_ext', 'nbtutor')
/usr/local/lib/python3.8/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
2315 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2316 with self.builtin_trap:
-> 2317 result = fn(*args, **kwargs)
2318 return result
2319
in load_ext(self, module_str)
/usr/local/lib/python3.8/site-packages/IPython/core/magic.py in (f, *a, **k)
185 # but it's overkill for just that one bit of state.
186 def magic_deco(arg):
--> 187 call = lambda f, *a, **k: f(*a, **k)
188
189 if callable(arg):
/usr/local/lib/python3.8/site-packages/IPython/core/magics/extension.py in load_ext(self, module_str)
31 if not module_str:
32 raise UsageError('Missing module name.')
---> 33 res = self.shell.extension_manager.load_extension(module_str)
34
35 if res == 'already loaded':
/usr/local/lib/python3.8/site-packages/IPython/core/extensions.py in load_extension(self, module_str)
78 if module_str not in sys.modules:
79 with prepended_to_syspath(self.ipython_extension_dir):
---> 80 mod = import_module(module_str)
81 if mod.file.startswith(self.ipython_extension_dir):
82 print(("Loading extensions from {dir} is deprecated. "
/usr/local/Cellar/python@3.8/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/init.py in import_module(name, package)
125 break
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)
128
129
/usr/local/Cellar/python@3.8/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/_bootstrap.py in _gcd_import(name, package, level)
/usr/local/Cellar/python@3.8/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/_bootstrap.py in find_and_load(name, import)
/usr/local/Cellar/python@3.8/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/_bootstrap.py in find_and_load_unlocked(name, import)
ModuleNotFoundError: No module named 'nbtutor'
The text was updated successfully, but these errors were encountered: