Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #111575
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: SyntaxError: Non-ASCII character |
| Date | 2016-07-17 22:11 +1000 |
| Message-ID | <mailman.65.1468757468.2307.python-list@python.org> (permalink) |
| References | <b804e2c1-bf9c-44fc-8c8e-6616489aa8ba@googlegroups.com> <b2859677-18d5-4819-bb9d-f87517c160f7@googlegroups.com> <CAPTjJmofHeGu9ofFkhRJ_4PbZth0ZdrjpVYbzm4HbZcMXJJWTw@mail.gmail.com> |
On Sun, Jul 17, 2016 at 10:01 PM, <ldompeling@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 You shouldn't need to set your python path. But, what you may need to do is install pyaudio under Python 3. Whatever you did for Py2, do again for Py3 - for instance: $ sudo python3 -m pip install pyaudio ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SyntaxError: Non-ASCII character ldompeling@casema.nl - 2016-07-17 02:19 -0700
Re: SyntaxError: Non-ASCII character Chris Angelico <rosuav@gmail.com> - 2016-07-17 19:26 +1000
Re: SyntaxError: Non-ASCII character Rustom Mody <rustompmody@gmail.com> - 2016-07-17 02:57 -0700
Re: SyntaxError: Non-ASCII character Steven D'Aprano <steve@pearwood.info> - 2016-07-17 21:01 +1000
Re: SyntaxError: Non-ASCII character ldompeling@casema.nl - 2016-07-17 05:01 -0700
Re: SyntaxError: Non-ASCII character Chris Angelico <rosuav@gmail.com> - 2016-07-17 22:11 +1000
Re: SyntaxError: Non-ASCII character Steven D'Aprano <steve@pearwood.info> - 2016-07-18 00:49 +1000
Re: SyntaxError: Non-ASCII character Wildman <best_lay@yahoo.com> - 2016-07-17 11:07 -0500
Re: SyntaxError: Non-ASCII character ldompeling@casema.nl - 2016-07-17 06:35 -0700
Re: SyntaxError: Non-ASCII character Steven D'Aprano <steve@pearwood.info> - 2016-07-18 00:50 +1000
Re: SyntaxError: Non-ASCII character ldompeling@casema.nl - 2016-07-17 09:27 -0700
csiph-web