How to install PortAudio package on iMX6UL ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to install PortAudio package on iMX6UL ?

Jump to solution
2,784 Views
toanjunifer
Senior Contributor I

Hi NXPs,

My name is Toan. And I trying to install pyaudio on python3.  When use:

$ pip3 install pyaudio

I recognize that it's require PortAudio package. Then I try add "portaudio-v19" on local.conf and execute bitbake command without error. But when I try install pyaudio again. It's still show the same error.

So how can I do now ?

Thank you so much,

Toan

Labels (1)
1 Solution
2,624 Views
karangajjar
Senior Contributor II

Hi Dao Van Toan,

You can download the https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c...  PyAudio-0.2.11.tar.gz file from the above link. Follow the INSTALL instruction. After successful installation you can use import pyaudio inside your python file.

Let us know in case of any concern.

Regards,

Karan Gajjar

View solution in original post

3 Replies
2,625 Views
karangajjar
Senior Contributor II

Hi Dao Van Toan,

You can download the https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c...  PyAudio-0.2.11.tar.gz file from the above link. Follow the INSTALL instruction. After successful installation you can use import pyaudio inside your python file.

Let us know in case of any concern.

Regards,

Karan Gajjar

2,107 Views
unscripted1
Contributor I

I' m having similar issues.

What I am trying to do is install PortAudio Library on my nxp board

----------------------------------------------

import sounddevice as sd

File "/usr/lib/python3.9/site-packages/sounddevice.py", line 71, in <module>
raise OSError('PortAudio library not found')
OSError: PortAudio library not found

----------------------------------------------

Can i get installation guide?

I am working on IMX8 PLUS

0 Kudos
Reply
2,624 Views
toanjunifer
Senior Contributor I

Hi karan.gajjar@volansystech.com‌,

Thank you very much for your support. I'm going to try follow your guide.

Regards,

Toan

0 Kudos
Reply