wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers' error.

Hi, the following error is appearing when I run code with wxPython:

wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers'. wx.InitAllImageHandlers()

In my installation, I have all these in a virtual environment I generated using Anaconda:

  • Python 2.7.13
  • wxPython 3.0

Windows settings from my PC:

  • Windows 10 Home, 64bits.

Should I downgrade my Python version to 2.3 or similar? I have a friend that told me he was able to run this on Windows XP and Python 2.3.

Any suggestion is appreciated!

Just remove any calls in your code to the wx.InitAllImageHandlers function. It hasn’t been necessary for a long time. If it’s not coming from you code you can ignore the warning.