On Sun, 17 Jul 2016 10:01 pm, ldompel...@casema.nl 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' > > Do I have to set a path also for to find the modules
No, but you do have to install pyaudio separately for each version of Python you have. So if you have installed Python 2.7 and 3.4, and Python 2.7 has pyaudio installed, Python 3.4 cannot use the same one. -- Steven “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list