AttributeError: 'Flow' object has no attribute 'serve'

I’m attempting to follow the getting started steps/tutorial and when copying and pasting the code I’m getting this error. I’ve got Prefect v 2.82 installed. Any guidance would be appreciated.

UPDATE
I was able to solve this by down grading to version 2.18

hi @Michael_Porter !

2.82 is not a valid version, it was previously yanked (prefect · PyPI) as it was meant to be 2.8.2

how did you install prefect that you ended up with that version?