import error in wxPython: import wx.animate on windows7(64bit OS) with python3.5.1 in Anaconda 4.2.0(32bit)

独自空忆成欢 提交于 2019-12-12 02:17:40

问题


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 error
ImportError: 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!