Hey, I can't create a new Kedro project with Kedro...
# questions
m
Hey, I can't create a new Kedro project with Kedro-Viz. A few days ago, it was working fine. Could this be related to the removal of the spaceflights-pandas-vis starter? Is anyone else experiencing similar issue?
h
Someone will reply to you shortly. In the meantime, this might help:
r
Kedro-viz is now part of the spaceflights starters so it should work by default. Can you share what is the error you are getting ?
m
Sure, thanks. 7) Kedro-Viz: Kedro's native visualisation tool Which tools would you like to include in your project? [1-7/1,3/all/none]: (none): 1,5,7 Traceback (most recent call last): File "C:\Projects\general_venv\Lib\site-packages\kedro\framework\cli\starters.py", line 956, in _create_project result_path = cookiecutter(template=template_path, **cookiecutter_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\cookiecutter\main.py", line 80, in cookiecutter base_repo_dir, cleanup_base_repo_dir = determine_repo_dir( ^^^^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\cookiecutter\repository.py", line 129, in determine_repo_dir raise RepositoryNotFound( cookiecutter.exceptions.RepositoryNotFound: A valid repository for "git+https://github.com/kedro-org/kedro-starters.git" could not be found in the following locations: C:\Users\mikol\.cookiecutters\kedro-starters\spaceflights-pandas-viz The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Projects\general_venv\Lib\site-packages\click\core.py", line 1082, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\click\core.py", line 1697, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\click\core.py", line 1443, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\click\core.py", line 788, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Projects\general_venv\Lib\site-packages\kedro\framework\cli\starters.py", line 400, in new _create_project(project_template, cookiecutter_args, telemetry_consent) File "C:\Projects\general_venv\Lib\site-packages\kedro\framework\cli\starters.py", line 962, in _create_project raise KedroCliError( kedro.framework.cli.utils.KedroCliError: Failed to generate project when running cookiecutter.
r
Ah, apologies this should be fixed once Kedro release is done. Can you not select the option 7 and try again. Kedro-viz should be part of the project by default
This is the fix that's been merged - https://github.com/kedro-org/kedro/pull/4517. It will be release soon .
m
Ineed works! Thanks a lot.