Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4929

AGL Control Panel Demo: error while running pip on Raspberry Pi OS (aka Raspbian)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Quillback 17.0.0
    • None
    • None
    • Raspberry Pi OS (aka Raspbian) 2023-05-03 for arm64 on RPi4.

      Trying to install agl-demo-control-panel's requirements I get:

      lisandro@raspberrypi:~/agl-demo-control-panel $ pip install -r requirements.txt
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Collecting pyqt5==5.15
        Downloading PyQt5-5.15.0.tar.gz (3.3 MB)
           |████████████████████████████████| 3.3 MB 2.5 MB/s 
        Installing build dependencies ... done
        Getting requirements to build wheel ... done
          Preparing wheel metadata ... error
          ERROR: Command errored out with exit status 1:
           command: /usr/bin/python3 /tmp/tmpy9vi4mut_in_process.py prepare_metadata_for_build_wheel /tmp/tmpf2li1byz
               cwd: /tmp/pip-install-zyxqn1db/pyqt5_f069db9ca7fe48a88cb04e58947dd187
          Complete output (31 lines):
          Traceback (most recent call last):
            File "/tmp/tmpy9vi4mut_in_process.py", 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 "/tmp/tmpy9vi4mut_in_process.py", line 280, in <module>
              main()
            File "/tmp/tmpy9vi4mut_in_process.py", line 263, in main
              json_out['return_val'] = hook(**hook_input['kwargs'])
            File "/tmp/tmpy9vi4mut_in_process.py", line 130, in prepare_metadata_for_build_wheel
              return _get_wheel_metadata_from_wheel(backend, metadata_directory,
            File "/tmp/tmpy9vi4mut_in_process.py", line 159, in _get_wheel_metadata_from_wheel
              whl_basename = backend.build_wheel(metadata_directory, config_settings)
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 46, in build_wheel
              project = AbstractProject.bootstrap('wheel',
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
              project.setup(pyproject, tool, tool_description)
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 586, in setup
              self.apply_user_defaults(tool)
            File "project.py", line 62, in apply_user_defaults
              super().apply_user_defaults(tool)
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
              super().apply_user_defaults(tool)
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 237, in apply_user_defaults
              self.builder.apply_user_defaults(tool)
            File "/tmp/pip-build-env-b30j8avo/overlay/lib/python3.9/site-packages/pyqtbuild/builder.py", line 69, in apply_user_defaults
              raise PyProjectOptionException('qmake',
          sipbuild.pyproject.PyProjectOptionException
          ----------------------------------------
      WARNING: Discarding https://files.pythonhosted.org/packages/8c/90/82c62bbbadcca98e8c6fa84f1a638de1ed1c89e85368241e9cc43fcbc320/PyQt5-5.15.0.tar.gz#sha256=c6f75488ffd5365a65893bc64ea82a6957db126fbfe33654bcd43ae1c30c52f9 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpy9vi4mut_in_process.py prepare_metadata_for_build_wheel /tmp/tmpf2li1byz Check the logs for full command output.
      ERROR: Could not find a version that satisfies the requirement pyqt5==5.15
      ERROR: No matching distribution found for pyqt5==5.15

      Note I am using Raspberry Pi OS as per guided on IRC. Version is 2023-05-03 for arm64.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            LisandroPerezMeyer-ICS Lisandro Pérez Meyer
            LisandroPerezMeyer-ICS Lisandro Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: