but when I try to run kedro ipython I recieve the ...
# questions
r
but when I try to run kedro ipython I recieve the following error message: Traceback (most recent call last): File "/home/usename/.local/lib/python3.10/site-packages/IPython/core/shellapp.py", line 282, in init_extensions self.shell.extension_manager.load_extension(ext) File "/home/usename/.local/lib/python3.10/site-packages/IPython/core/extensions.py", line 76, in load_extension return self._load_extension(module_str) File "/home/usename/.local/lib/python3.10/site-packages/IPython/core/extensions.py", line 91, in _load_extension mod = import_module(module_str) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked ModuleNotFoundError: No module named 'kedro'
🧵 1
s
Hi @Rosana EL-JURDI, please try keep all the information in one post and make it into a thread so we can keep track of it all. Regarding your question I can see that it says, ModuleNotFoundError: No module named 'kedro', which is usually indicative that kedro is not installed on the environment. Please confirm you are on the right environment if you are using a virtual env.
🙂 1
n
I am just guessing this is an environment issue. Are you running in any virtual environment like virtualenv or conda? Maybe your IPython didn’t installed in the same environment.
Try
Copy code
python -m pip install ipython
kedro ipython
r
I am actually running it in visual studio with kedro installed. The issue I am getting is the fact that the loaded dataset is a dict
so it does not have a .loader option
AttributeError: 'dict' object has no attribute 'load
n
I see. Is this a custom dataset? Can you shared the implementation and explain a bit what are you trying to achieve?