Vinc wrote:
Hello,
I have an error when using agw/flatmenu with python3 on ubuntu 13.04 (64
bits).File "flatmenu_snippet.py", line 3, in <module>
import wx.lib.agw.flatmenu as FM
File
"/home/arcole/bin/wxPython_Phoenix-2.9.5.81-r73964-src/wx/lib/agw/flatmenu.py",
line 205, in <module>
from .fmcustomizedlg import FMCustomizeDlg
File
"/home/arcole/bin/wxPython_Phoenix-2.9.5.81-r73964-src/wx/lib/agw/fmcustomizedlg.py",
line 7, in <module>
from UserDict import UserDict
ImportError: No module named 'UserDict'When I google, UserDict seems not to be compliant with python 3 ... is
it a bug ? do you have a workaround ?
The modules in wx.lib are still in the process of being ported to Py3, and your help will be appreciated. You can make whatever changes are needed to get your use case working and submit your changes as a patch to wxPython-dev@googlegroups.com. Be sure to maintain compatibility with Python 2.7 as well as adding support for 3.2+. Please see ProjectPhoenix/LibraryMigration - wxPyWiki for more information.
···
--
Robin Dunn
Software Craftsman