Installer broken after update to Linux Mint 22 #8

Open
opened 2024-07-29 12:03:09 +00:00 by c.jansen · 0 comments
Owner

https://linuxmint.com

Neither the editable install nor wheel install work anymore.

Possible causes:

  • Linux Mint 22 uses Python 3.12, while LASP is built for 3.10.
    $ pip install lasp-1.6.8-cp310-cp310-linux_x86_64.whl
    ERROR: lasp-1.6.8-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform.
  • Setuptools >= 72 has removed a function.
  • Linux Mint moved to a new sound server called Pipewire.
Building with Portaudio backend
CMake Error at cmake/portaudio.cmake:18 (add_subdirectory):
        The source directory
         .../lasp/third_party/portaudio
        does not contain a CMakeLists.txt file.
Building UlDAQ
      -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
      -- Checking for module 'libusb-1.0'
      --   Found libusb-1.0, version 1.0.27
      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File ".../.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable
          hook = backend.prepare_metadata_for_build_editable
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'py_build_cmake.build' has no attribute 'prepare_metadata_for_build_editable'
https://linuxmint.com Neither the editable install nor wheel install work anymore. Possible causes: - Linux Mint 22 uses Python 3.12, while LASP is built for 3.10. `$ pip install lasp-1.6.8-cp310-cp310-linux_x86_64.whl` `ERROR: lasp-1.6.8-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform.` - Setuptools >= 72 has removed a function. - Linux Mint moved to a new sound server called Pipewire. - ``` Building with Portaudio backend CMake Error at cmake/portaudio.cmake:18 (add_subdirectory): The source directory .../lasp/third_party/portaudio does not contain a CMakeLists.txt file. ``` - ``` Building UlDAQ -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.27 -- Configuring incomplete, errors occurred! Traceback (most recent call last): File ".../.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 167, in prepare_metadata_for_build_editable hook = backend.prepare_metadata_for_build_editable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'py_build_cmake.build' has no attribute 'prepare_metadata_for_build_editable' ```
c.jansen added the
bug
label 2024-07-29 12:03:10 +00:00
anne was assigned by c.jansen 2024-07-29 12:08:25 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ASCEE/lasp#8
No description provided.