Skip to content

portaudio error on pip install #265

Open
@zseramnay

Description

@zseramnay

I'm installing with pip from the anaconda terminal.

Best

Yan

creating build/temp.macosx-10.9-x86_64-cpython-39/src/objects
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/yanmaresz/opt/anaconda3/include -arch x86_64 -I/Users/yanmaresz/opt/anaconda3/include -fPIC -O2 -isystem /Users/yanmaresz/opt/anaconda3/include -arch x86_64 -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -Iinclude -I/usr/local/Cellar/liblo/0.31/include -I/usr/local/Cellar/libsndfile/1.2.0/include -I/usr/local/Cellar/portaudio/19.7.0/include -I/usr/local/Cellar/portmidi/2.0.4/include -I/Users/yanmaresz/opt/anaconda3/include/python3.9 -c src/engine/ad_portaudio.c -o build/temp.macosx-10.9-x86_64-cpython-39/src/engine/ad_portaudio.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
In file included from src/engine/ad_portaudio.c:21:
include/ad_portaudio.h:25:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyo

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

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