i installed kedro using pip install and i made a new project using (kedro new). i was able to run (kedro run –pipeline myPipelineName) from terminal in pycharm or from cmd when i make cd to the project. but i need to run it from my php file using shell_exec(). i need kedro_cli.py but i can’t find it. i don’t know what to do.
tried running
C:\xampp\htdocs\webmap\python\detect\venv\Scripts\python.py C:xampphtdocswebmappythondetectsrc
detect__main__.py run --pipeline objects-prediction
it is not working. i tried many things not working. i once tried using kedro_cli but this time i can’t seem to find it in the project
2
Answers
the solution was so simple, I used
path_to_venv\venv\Scripts\kedro run --pipeline my-pipeline-name
I am new to this so I didn't know that a script can be used in such way. thank you all!Is your projected packaged? If so you can use python -m to run it as CLI.