Boggdan Barrientos
01/18/2022, 7:10 PMpip install prefect
Inside python idle I was able to run successfully:
import prefect
from prefect import task, Flow
@task
def hello_task():
logger = prefect.context.get("logger")
<http://logger.info|logger.info>("Hello world!")
with Flow("hello-flow") as flow:
hello_task()
flow.run()
But in the cli, I try to run and nothing.
I try to run in the cli prefect version
and results.
ubuntu@ip-20-0-0-33:~$ prefect version
prefect: command not found
I dont know what I'm doing wrong. I would appreciate your help. Thanks.Kevin Kho
01/18/2022, 7:30 PMwhere python
to see your python installations?Boggdan Barrientos
01/18/2022, 9:13 PMwhich python3
give me results.Kevin Kho
01/18/2022, 9:28 PMwhich pip
?Boggdan Barrientos
01/18/2022, 10:13 PMKevin Kho
01/19/2022, 3:44 AMsite-packages
to see if prefect got installed where you expect? Are you using an environment manager?Boggdan Barrientos
01/21/2022, 2:25 PMprefect: command not found
I'm not using a environment manager, I install it on python3 of ubuntu.Anna Geller
01/21/2022, 2:46 PMArran
02/09/2022, 11:47 AMKevin Kho
02/09/2022, 2:16 PMBoggdan Barrientos
02/09/2022, 3:20 PM