Skip to content

Issues intalation on macos #60

@Mfernand

Description

@Mfernand

After follow the instruction a get this errors when I run the setup_mac.sh script. I attach the log intalation.log

I think the main problem is this:

ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6k/c6f1zkt96d143fvxkv_p0sym0000gp/T/pip-install-tkacqi2_/pyaudio_8c26151dbc014dc18bdac6721b3612b8/setup.py'"'"'; file='"'"'/private/var/folders/6k/c6f1zkt96d143fvxkv_p0sym0000gp/T/pip-install-tkacqi2_/pyaudio_8c26151dbc014dc18bdac6721b3612b8/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/6k/c6f1zkt96d143fvxkv_p0sym0000gp/T/pip-wheel-kj1jrmv1
cwd: /private/var/folders/6k/c6f1zkt96d143fvxkv_p0sym0000gp/T/pip-install-tkacqi2_/pyaudio_8c26151dbc014dc18bdac6721b3612b8/
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12-x86_64-3.9
copying src/pyaudio.py -> build/lib.macosx-12-x86_64-3.9
running build_ext
creating build/temp.macosx-12-x86_64-3.9
creating build/temp.macosx-12-x86_64-3.9/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DMACOSX=1 -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/_portaudiomodule.c -o build/temp.macosx-12-x86_64-3.9/src/_portaudiomodule.o
src/_portaudiomodule.c:29:10: fatal error: 'portaudio.h' file not found
#include "portaudio.h"
^~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

ERROR: Failed building wheel for PyAudio

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