It's most probably a version mismatch, you may need to dig deep. Reinstall it to ensure the module is correctly installed. Check if your Python version is compatible with PyQt6 6.8, as version mismatch with python can be more of a cause than pycharm.