Skip to content

Forward compatibility issue building PyAudio (installing old portaudio19-dev removes jackd2) #36

Closed
@Poikilos

Description

@Poikilos

PyAudio (compiling, which is required for a version that doesn't have wheels for your platform) requires old header files, and installing the package on linux removes newer features (jackd2 etc).

Outdated C code in PyAudio is probably the cause of this, so this issue may have to be reported to PyAudio.

I'm not sure if this is specific to using the kxstudio repo with Linux Mint 21.3, but that's what I was using. portaudio.h is required to build PyAudio. pip install triggers building the optimized c portion of it from source since PyPI does not have a precompiled wheel for PyAudio for Python 3.10.12 64-bit on Linux. To get portaudio.h, installing portaudio19-dev is necessary (unless downloading the source manually). Running sudo apt install portaudio19-dev causes:

The following additional packages will be installed:
  libjack-dev libjack0 libportaudiocpp0
Suggested packages:
  jackd1 portaudio19-doc
The following packages will be REMOVED:
  libasound2-plugins:i386 libjack-jackd2-0 libjack-jackd2-0:i386 wine-stable wine-stable-i386:i386 winehq-stable
The following NEW packages will be installed:
  libjack-dev libjack0 libportaudiocpp0 portaudio19-dev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions