Running a Prefect flow locally on your Prefect Server does not require the server to be on version 2.0. Prefect 3.x is compatible with Python 3.9 or newer, so you should ensure your environment is up to date with these requirements.
When managing a Prefect server, it's important to maintain compatibility between the server and client versions. Prefect aims to maintain backward compatibility, but newer clients may not work with older servers. Therefore, it's recommended that all clients are the same version as the server or older.
For more details, you can refer to the
Prefect documentation.