Hi. I’m trying to start a new project in a offli...
# questions
c
Hi. I’m trying to start a new project in a offline environment. Running kedro new with starter templates would return me timeout error as it can’t reach GitHub. Is there a workaround if I download the template into zip file and place it into the offline environment? Is this command correct? It is still returning me timeout error. E.g Kedro new --starter /local/kedro-starters-main/databricks-iris/ Thank you in advance
h
Someone will reply to you shortly. In the meantime, this might help:
a
Hey, which version of Kedro are you using? And could you paste the stacktrace of the error here. Ideally
kedro new --starter = <path to local template>
should work offline. When I tried, I get an
Invalid Version
error with the latest versions of Kedro but Kedro 0.19.6 works fine. I think this might be a regression from https://github.com/kedro-org/kedro/pull/3900 (Could you check if this is the case @Ravi Kumar Pilla)
c
Yeah. Same error. I’m using the latest version.
I guess I can either downgrade or just reproduce the template manually.
a
I think the error will still occur if you create the template manually too as this is a bug on our end. I have a hacky solution, you can set the environment variable “`KEDRO_STARTERS_VERSION`” to 0.19.9 to get around this for now. Or you can downgrade to 0.19.6. I’ll create a bug report for this and try to fix this for the next release.
👍 1
thankyou 1
c
Perfect. Thank you