https://kedro.org/ logo
#questions
Title
# questions
s

Sebastian Cardona Lozano

12/29/2022, 2:26 PM
Hi everyone. I recently started with Kedro. I'm workin with Vertex AI workbench in GCP (an Ubuntu virtual machine with Anaconda pre installed). For any reason I'm having these problems: 1. When I run
kedro info
in CLI appears the next warning:
Copy code
[12/29/22 14:22:07] WARNING  /opt/conda/lib/python3.7/site-packages/plotly/graph_objects/__init__.py:288:                   warnings.py:110
                             DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.                  
                               if LooseVersion(ipywidgets.__version__) >= LooseVersion("7.0.0"):
2. Neither I can use
kedro ipython
in CLI:
Copy code
[12/29/22 14:24:12] INFO     Resolved project path as: /home/jupyter/bm-598-onboarding.                                     __init__.py:135
                             To set a different path, run '%reload_kedro <project_root>'                                                   
[TerminalIPythonApp] WARNING | Error in loading extension: kedro.ipython
Check your config files in /home/jupyter/.ipython/profile_default
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/IPython/core/shellapp.py", line 301, in init_extensions
    self.shell.extension_manager.load_extension(ext)
  File "/opt/conda/lib/python3.7/site-packages/IPython/core/extensions.py", line 87, in load_extension
    if self._call_load_ipython_extension(mod):
  File "/opt/conda/lib/python3.7/site-packages/IPython/core/extensions.py", line 134, in _call_load_ipython_extension
    mod.load_ipython_extension(self.shell)
  File "/opt/conda/lib/python3.7/site-packages/kedro/ipython/__init__.py", line 40, in load_ipython_extension
    reload_kedro()
  File "/opt/conda/lib/python3.7/site-packages/kedro/ipython/__init__.py", line 89, in reload_kedro
    context = session.load_context()
  File "/opt/conda/lib/python3.7/site-packages/kedro/framework/session/session.py", line 259, in load_context
    context=context
  File "/opt/conda/lib/python3.7/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/opt/conda/lib/python3.7/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/opt/conda/lib/python3.7/site-packages/pluggy/_callers.py", line 60, in _multicall
    return outcome.get_result()
  File "/opt/conda/lib/python3.7/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/opt/conda/lib/python3.7/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/opt/conda/lib/python3.7/site-packages/kedro_telemetry/plugin.py", line 120, in after_context_created
    catalog = context.catalog
  File "/opt/conda/lib/python3.7/site-packages/kedro/framework/context/context.py", line 232, in catalog
    return self._get_catalog()
  File "/opt/conda/lib/python3.7/site-packages/kedro/framework/context/context.py", line 287, in _get_catalog
    save_version=save_version,
  File "/opt/conda/lib/python3.7/site-packages/kedro/io/data_catalog.py", line 272, in from_config
    ds_layer = ds_config.pop("layer", None)
AttributeError: 'str' object has no attribute 'pop'
16 Views