Having an issue with one of the modules. #135
Closed
Dr-Barrote
started this conversation in
General
Replies: 1 comment 1 reply
-
I meant |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, would really appreciate some support here. I have no idea what is happening, but somehow I get this error right at the intro when I'm trying to run the tests.
In the <%reload_ext tutorial.tests.testsuite>
I get
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_14128\1023259248.py in
----> 1 get_ipython().run_line_magic('reload_ext', 'tutorial.tests.testsuite')
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
2362 kwargs['local_ns'] = self.get_local_scope(stack_depth)
2363 with self.builtin_trap:
-> 2364 result = fn(*args, **kwargs)
2365 return result
2366
C:\ProgramData\Anaconda3\lib\site-packages\decorator.py in fun(*args, **kw)
230 if not kwsyntax:
231 args, kw = fix(args, kw, sig)
--> 232 return caller(func, *(extras + args), **kw)
233 fun.name = func.name
234 fun.doc = func.doc
C:\ProgramData\Anaconda3\lib\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):
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\extension.py in reload_ext(self, module_str)
61 if not module_str:
62 raise UsageError('Missing module name.')
---> 63 self.shell.extension_manager.reload_extension(module_str)
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\extensions.py in reload_extension(self, module_str)
128 self.loaded.add(module_str)
129 else:
--> 130 self.load_extension(module_str)
131
132 def _call_load_ipython_extension(self, mod):
C:\ProgramData\Anaconda3\lib\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. "
C:\ProgramData\Anaconda3\lib\importlib_init_.py in import_module(name, package)
125 break
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)
128
129
C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _gcd_import(name, package, level)
C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in find_and_load(name, import)
C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import)
C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _load_unlocked(spec)
C:\ProgramData\Anaconda3\lib\importlib_bootstrap_external.py in exec_module(self, module)
C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
~\Documents\Training\empa_python\python-tutorial\tutorial\tests\testsuite.py in
6 from typing import Dict, Optional
7
----> 8 import ipynbname
9 import pytest
10 from IPython.core.display import Javascript
ModuleNotFoundError: No module named 'ipynbname'
But if I try
pip install ipytest
I get that the requirement is already satisfied. Any ideas?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions