title: AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' for PyQt5 5.15.0
body: <p>A program I am trying to install requires the installation of PyQt5 5.15.0 , which gives me this error. The odd thing is that the installation works fine for the latest version of PyQt5 (5.15.2), but this program requires 5.15.0 specifically.</p>
  <p><strong>Command Output:</strong></p>
  <pre><code>Collecting PyQt5==5.15.0
    Using cached PyQt5-5.15.0.tar.gz (3.3 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
      Preparing wheel metadata ... error
      ERROR: Command errored out with exit status 1:
       command: 'c:\users\mshal\appdata\local\programs\python\python39\python.exe' 'C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\mshal\AppData\Local\Temp\tmp41s11ev6'
           cwd: C:\Users\mshal\AppData\Local\Temp\pip-install-sfw90hvc\pyqt5_e2cc46859b554da7b84798abae5378ba
      Complete output (31 lines):
      Traceback (most recent call last):
        File &quot;C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py&quot;, line 126, in prepare_metadata_for_build_wheel
          hook = backend.prepare_metadata_for_build_wheel
      AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
  
      During handling of the above exception, another exception occurred:
  
      Traceback (most recent call last):
        File &quot;C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py&quot;, line 280, in &lt;module&gt;
          main()
        File &quot;C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py&quot;, line 263, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File &quot;C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py&quot;, line 130, in prepare_metadata_for_build_wheel
          return _get_wheel_metadata_from_wheel(backend, metadata_directory,
        File &quot;C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py&quot;, line 159, in _get_wheel_metadata_from_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\sipbuild\api.py&quot;, line 51, in build_wheel
          project = AbstractProject.bootstrap('pep517')
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\sipbuild\abstract_project.py&quot;, line 83, in bootstrap
          project.setup(pyproject, tool, tool_description)
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\sipbuild\project.py&quot;, line 479, in setup
          self.apply_user_defaults(tool)
        File &quot;project.py&quot;, line 62, in apply_user_defaults
          super().apply_user_defaults(tool)
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\pyqtbuild\project.py&quot;, line 79, in apply_user_defaults
          super().apply_user_defaults(tool)
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\sipbuild\project.py&quot;, line 225, in apply_user_defaults
          self.builder.apply_user_defaults(tool)
        File &quot;C:\Users\mshal\AppData\Local\Temp\pip-build-env-nnx_yu09\overlay\Lib\site-packages\pyqtbuild\builder.py&quot;, line 66, in apply_user_defaults
          raise PyProjectOptionException('qmake',
      sipbuild.pyproject.PyProjectOptionException
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'c:\users\mshal\appdata\local\programs\python\python39\python.exe' 'C:\Users\mshal\AppData\Roaming\Python\Python39\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\mshal\AppData\Local\Temp\tmp41s11ev6' Check the logs for full command output.
  </code></pre>
  <p>I am on the latest version of pip. Any ideas on the root cause of this issue?</p>