SyntaxError: Non-ASCII character

Wildman best_lay at yahoo.com
Sun Jul 17 12:07:44 EDT 2016


On Sun, 17 Jul 2016 05:01:21 -0700, ldompeling wrote:

> I installed python 3.4 and set my python path to PYTONPATH:/usr/bin/python3.4
> 
> When I try to import pyaudio then I get this error:
> Python 3.4.2 (default, Oct 19 2014, 13:31:11)
> [GCC 4.9.1] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyaudio
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named 'pyaudio'

You need to install the Pytyon3 version of pyaudio...

sudo apt-get install python3-pyaudio

> Do I have to set a path also for to find the modules

No.

-- 
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!



More information about the Python-list mailing list