You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the Kedro spaceflights tutorial and in the section on Package a Kedro project, it mentions to run the command kedro package. When I tried that it failed with the following error message:
Usage: kedro [OPTIONS] COMMAND [ARGS]...
Try 'kedro -h' for help.
Error: No such command 'package'.
Sub-Issue 2
I was reading through Kedro concepts. It at the end, it mentions that we can run kedro test to run tests using pytest, but when I ran it in the above spaceflights projects, it gave a similar error as above saying that there is no such command as 'test'.
Context
I was working through the spaceflights tutorial.
Steps to Reproduce
Initialize a new Kedro project using spaceflights starter and run kedro package and kedro test.
Expected Result
Sub-issue 1
To generate a .whl file packaging the pipeline
Sub-issue 2
To run test cases using pytest
Actual Result
Please refer to description
Your Environment
Kedro version used (pip show kedro or kedro -V): v0.18.13
Python version used (python -V): 3.10.13
Operating system and version: PopOS (based on Ubuntu 22.04 LTS)
The text was updated successfully, but these errors were encountered:
Hello @abhishek-nigam ! The "no such command" indicates that probably you weren't running those commands from the root of the directory. Can you please confirm?
You're right! I think I made the mistake of not running the command from project root. Sorry about that. When I try both commands now from the project root, they work. Closing this issue.
Description
I was following the Kedro spaceflights tutorial and in the section on Package a Kedro project, it mentions to run the command
kedro package
. When I tried that it failed with the following error message:I was reading through Kedro concepts. It at the end, it mentions that we can run
kedro test
to run tests usingpytest
, but when I ran it in the above spaceflights projects, it gave a similar error as above saying that there is no such command as 'test'.Context
I was working through the spaceflights tutorial.
Steps to Reproduce
Initialize a new Kedro project using spaceflights starter and run
kedro package
andkedro test
.Expected Result
Sub-issue 1
To generate a .whl file packaging the pipeline
Sub-issue 2
To run test cases using
pytest
Actual Result
Please refer to description
Your Environment
pip show kedro
orkedro -V
): v0.18.13python -V
): 3.10.13The text was updated successfully, but these errors were encountered: