hello! i am trying to do the example on the documentation https://docs.prefect.io/tutorials/deployments/
but when i run the final code "*prefect deployment run leonardo_dicapriflow/leo-deployment*", i get
12:42:30.413 | INFO | prefect.agent - Submitting flow run 'ad292353-ad9c-4a4d-a668-65ad5691d959'
12:42:34.125 | INFO | prefect.infrastructure.process - Opening process 'tangible-pony'...
12:42:34.131 | INFO | prefect.agent - Completed submission of flow run 'ad292353-ad9c-4a4d-a668-65ad5691d959'
Usage: python [OPTIONS] COMMAND [ARGS]...
Try 'python --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────╮
│ No such option: -m │
╰──────────────────────────────────────────────────────────────────────────────╯
12:42:35.843 | ERROR | prefect.infrastructure.process - Process 'tangible-pony' exited with status code: 2
j
Jeff Hale
08/11/2022, 5:37 PM
Hmm, are you in a conda environment? Does running
python
in the terminal work?
y
Yusuf Kamorudeen
08/11/2022, 6:46 PM
i was using pipenv, turns out it can only work with conda