NotImplementedError while checking (dbt version)dbt --version

I installed dbt sucessfully using pip install dbt-core thereafter i upgraded it using pip install --upgrade dbt-core, then check my dbt version, it worked sucessfully.

Then i moved to install dbt-mysql , the installation was a success so i decided to check the version again, i encountered error as started above and in the screenshot. I have googled to find the solution then i saw that dbt is not compatible with some python versions. But i have installed python version 3.10.11 of which dbt is compatible with . I don’t know why the error is occurring, please i need help to fix this. Thank You