Gargoyle
Gargoyle

Reputation: 10324

How do I get PyQt4.phonon?

I'm trying to run something that needs phonon from python 2.7, and it asks for

from PyQt4.phonon import Phonon

When I run, I get an error saying no module named phonon. I've installed python and pyqt via both brew and port, and neither one of them seem to include the stuff to make phonon work. I also tried adding things like tkinter and gstream to them, but still nothing.

What's the magic sauce to make phonon available to my python script?

Upvotes: 8

Views: 1984

Answers (1)

Unknown Hamster
Unknown Hamster

Reputation: 3

Try making phonon lowercase and removing .pronon from PyQt4

from PyQt4 import phonon

Upvotes: 0

Related Questions