Flow Import Issue

Hi
I am trying to
from crewai.flow.flow import Flow

It cannot import it.
I already checked the crewai package itself - I don’t see anywhere Flow.

I am able to import Agent, task and crew.
Only issue is with the Flow.

My python version is 3.1.3.1

Please suggest ways to resolve.

After creating a flow, this is the way it’s importing on my code.

from crewai.flow import Flow, listen, start, router

Can u tell us more about the folder structure you are using?

I’m able to import flows using

from crewai.flow.flow import Flow, listen, start, router, or_, and_

Which CrewAI version are you using and python version. The one you stated 3.1.3.1 seems to have an error.

python 3.12.9
crewai 0.102.0
crewai_tools 0.36.0