AttributeError: module ‘sipbuild.api’ has no attribute ‘prepare_metadata_for_build_wheel’ for PyQt5 5.15.0 July 11, 2023 by Tarik What helped me is upgrading pip from 20.2.3 to the latest one (in my case 21.1.1)