https://prefect.io logo
Title
s

Sachin Ranveer

08/17/2022, 11:53 AM
Hi, Can someone help me here ? PS C:\Users\Sachin Ranveer\Desktop\Logward\data-ingestion-service> prefect orion start prefect : The term 'prefect' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + prefect orion start + ~~~~~~~ + CategoryInfo : ObjectNotFound: (prefect:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
p

Parwez Noori

08/17/2022, 11:57 AM
You do not have downloaded prefect or activated the virtual environment where you have installed the package.
s

Sachin Ranveer

08/17/2022, 12:39 PM
hi,
I am running it in pycharm I have script
from prefect import flow, task
import httpx, os
it is working fine but UI I am not able to access
j

Jeff Hale

08/17/2022, 1:19 PM
Make sure you are in a terminal with your virtual environment activated that has prefect 2.0.x installed inside it. If you run
prefect version
you should get back information about your installed Prefect version. If you don’t see that, you need to activate your virtual environment.