It seems like you're using Python 3.11.1, which is causing the error. Airbyte recommends using Python 3.9 for building connectors. You can check the requirements for the tech stack in the [Airbyte local development documentation](
https://docs.airbyte.com/contributing-to-airbyte/developing-locally). Try downgrading your Python version to 3.9 and see if the error persists. Here is the relevant extract from the [forum discussion](
https://discuss.airbyte.io/t/3817) where a similar issue was encountered:
Support: Please use Python 3.9 not 3.11 see requirements for the tech stack: [<https://docs.airbyte.com/contributing-to-airbyte/developing-locally>](<https://docs.airbyte.com/contributing-to-airbyte/developing-locally>)