Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issue on MAC Sonoma 14.5 #70

Open
mlevin2000 opened this issue Jul 24, 2024 · 1 comment
Open

Install issue on MAC Sonoma 14.5 #70

mlevin2000 opened this issue Jul 24, 2024 · 1 comment

Comments

@mlevin2000
Copy link

when trying to install pyGPT on my MAC, I get the following error:
creating build/temp.macosx-14.0-arm64-cpython-312/src/pyaudio
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DMACOS=1 -I/usr/local/include -I/usr/include -I/opt/homebrew/include -I/Users/mike/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/pyaudio/device_api.c -o build/temp.macosx-14.0-arm64-cpython-312/src/pyaudio/device_api.o
src/pyaudio/device_api.c:9: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]

The install script is:
python3 -m venv venv
source venv/bin/activate
pip3 install pygpt-net

@szczyglis-dev
Copy link
Owner

You need to install portaudio on your system:

brew update
brew install portaudio

https://koji-kanao.medium.com/when-cant-install-pyaudio-with-pip-190973840dbf

@szczyglis-dev szczyglis-dev added bug Something isn't working help wanted Extra attention is needed question Further information is requested and removed bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants