Want to know the fix for this error

I am running this simple code to check prefect and its working.
But I am getting this error

What is the cause of the error can anyone suggest me any solution for this?
Python version = 3.9.3
Prefect version = 2.7.3

can you create a new fresh Conda environment and try there?