hello! i am trying to do the example on the docume...
# ask-community
y
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 124230.413 | INFO | prefect.agent - Submitting flow run 'ad292353-ad9c-4a4d-a668-65ad5691d959' 124234.125 | INFO | prefect.infrastructure.process - Opening process 'tangible-pony'... 124234.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 │ ╰──────────────────────────────────────────────────────────────────────────────╯ 124235.843 | ERROR | prefect.infrastructure.process - Process 'tangible-pony' exited with status code: 2
j
Hmm, are you in a conda environment? Does running
python
in the terminal work?
y
i was using pipenv, turns out it can only work with conda