问题
I am working on Windows7(64 bit OS) with Anaconda's python 3.5.1(32bit).
I have installed wxPython for GUI.
I keep getting the below import errorImportError: No module named 'wx.animate'
import wx
is working fine.import wx
wx.version()
gives
'3.0.3.dev2752+8304ec1 msw (phoenix)''
I have installed wxPython from
https://wxpython.org/Phoenix/snapshot-builds/
the version is,
wxPython_Phoenix-3.0.3.dev2752+8304ec1-cp35-cp35m-win32.whl
I have checked the path and don't see any problem there..
Can anyone guide me on where this is going wrong?
Thanks.
回答1:
The classes formerly in wx.animate
in wxPython Classic are now in wx.adv
in wxPython Phoenix. See https://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html#modules-which-have-moved
来源:https://stackoverflow.com/questions/41845274/import-error-in-wxpython-import-wx-animate-on-windows764bit-os-with-python3-5