skip to Main Content

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


  1. Chosen as BEST ANSWER

    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!


  2. Is your projected packaged? If so you can use python -m to run it as CLI.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search