aanan
02/16/2022, 9:44 AMLorena
02/16/2022, 10:25 AMmy_package
or python -m my_package
.
And you were right, the error message suggests it's not finding the file that distinguishes a regular folder from a kedro project, namely pyproject.toml
.antony.milne
02/16/2022, 10:33 AM!
which runs a command (so you do !kedro run
which works in my test project). Or if that fails maybe you could use %run
and point to the kedro project __main__.py
file. https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-runkedro run
, but I guess you know that and the option isn't available to you? I don't know how locked down the Qubole environment is and whether you'll be able to effectively simulate running a command line through the Jupyter notebook environment. In some Jupyter instances you even have the option to launch a terminal window in the environment itself, which means you could just run a project from the CLI as normal