"Could not import the PyAudio C module '_portaudio'" when trying to import pyaudio in Python

0

I'm trying to import pyaudio .

I installed portaudio with the command:

brew install portaudio

and I installed pyaudio with pip .

Now I try to import pyaudio and python shows me the error:

  

Could not import the PyAudio C module '_portaudio'

Any advice?

I followed the solution of pyaudio could not import _portaudio but it does not work. I have uninstalled it like three times and it does not work, now I can not install pyaudio because it says that pamaccore is missing:

  

fatal error: 'pa_mac_core.h'

  • Python version: 3.4
  • Operating system: Mac OSX the captain
asked by ger 09.05.2018 в 01:17
source

0 answers