[Pythonmac-SIG] ImportError: No module named pyqt_ui.qt_translator
Patrick Kenny
ptmkenny at gmail.com
Sat Jun 16 18:31:43 CEST 2012
Hello. I'm attempting to package a python application (Mnemosyne, http://mnemosyne-proj.org) using py2app.
I have built the application with py2app:
sudo python setup.py py2app
and copied the qt_menu.nib directory into the Resources directory.
When I then attempt to launch the application:
./dist/Mnemosyne.app/Contents/MacOS/Mnemosyne
I get this error:
ImportError: No module named pyqt_ui.qt_translator
I haven't been able to figure out what to add to the "includes" to ensure qt_translator is included.
I looked at the PyQt module list:
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/modules.html
and learned that there is a "QTranslator" class in the QtCore module, but including "PyQt4.QtCore" doesn't help, nor does "PyQt4.*"
Any help would be much appreciated.
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120617/3ab74785/attachment.html>
More information about the Pythonmac-SIG
mailing list