Comments (6)
Thanks for the response. I found out that there were old portaudio files in /usr/local/include
from intel->arm migration and removed those.
brew install portaudio
seems to install it in /opt/homebrew/Cellar/portaudio/19.7.0
, and I built pyaudio with pip install --global-option='build_ext' --global-option='-I/opt/homebrew/Cellar/portaudio/19.7.0/include' --global-option='-L/opt/homebrew/Cellar/portaudio/19.7.0/lib' pyaudio
.
Sadly, the issue still persists.
from 01.
i was actually able to fix this issue another way – setting up my own conda env (make sure to do python version 3.11.8, due to another issue):
CONDA_SUBDIR=osx-arm64 conda create -n MY_ENV python python=3.11.8
and then thanks to https://stackoverflow.com/questions/33513522/when-installing-pyaudio-pip-cannot-find-portaudio-h-in-usr-local-include/69833329#69833329
conda activate
poetry install
pip uninstall pyaudio
pip install --global-option='build_ext' --global-option="-I$(brew --prefix)/include" --global-option="-L$(brew --prefix)/lib" pyaudio
and then running it with --local
did the trick!
from 01.
This is an issue with one or both of:
- your brew (and hence portaudio) installation
- your pyaudio installation
First, uninstall pyaudio and portaudio, then try to follow this answer to see if it works.
If it doesn't, you may need to reinstall Brew:
Brew is installed in /usr/local in older Intel / Rosetta Macs, but installs in /opt/homebrew now. You can use which brew
to find out where brew is installed. Incase it is still on /usr/local
, you'll need to uninstall brew from there and install in /opt/homebrew, since Pyaudio will also pick it up from there. Follow these steps to fix Brew.
Once brew is fixed, uninstall pyaudio, then reinstall it using the Stackoverflow link.
from 01.
unfortunately running into similar issues on m1 pro, tried the above suggestions to no avail
from 01.
sudo apt-get update
sudo apt-get install portaudio19-dev
@keldenl this worked for ubuntu for me, you can try similar and might just work
from 01.
Seems like this is sorted out now, thanks @shahdivax, @keldenl and @shivenmian for your help!
from 01.
Related Issues (20)
- Teach mode looping while asking for the name of the skill HOT 2
- Add support for Groq LLM inference HOT 2
- Ruff linter not linting content from the "software" directory
- Pre-commit fails at "pytest" step HOT 1
- Ubuntu 21+ is not supported [wayland] HOT 5
- I dont get any output HOT 1
- cant run client in windows 11 HOT 19
- Access Issue with Linux `dmesg` HOT 1
- Ctrl+C not working in Windows HOT 1
- Local Whisper Fails to Load Model
- Audio continues to cut out mid response HOT 2
- JSONDecodeError when attempting to get data from the web HOT 1
- while running zero one in Ubuntu Linux, getting error given HOT 3
- Asyncio Queue Bug
- GPT-4 change to GPT 3.5 Turbo as a default model HOT 2
- ngrok and connection to 01-Light HOT 2
- `CancelledError` Exception on Boot
- How to run with Humane AI Pin ? HOT 1
- Question about audio format for websocket HOT 1
- Task Persistence and Integrations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 01.