a deprecating warning in wxPython lib is as follows: wxPyDeprecationWarning: wx.lib.pubsub has been deprecated, plese migrate your code to use pypubsub, available on PyPI.
python 3.7.2 and pycharm IDE
a deprecating warning in wxPython lib is as follows: wxPyDeprecationWarning: wx.lib.pubsub has been deprecated, plese migrate your code to use pypubsub, available on PyPI.
python 3.7.2 and pycharm IDE
On
wx.lib.pubsub is now deprecated in wxPython. You will need to install PyPubSub now. The PyPubSub package is actually what wx.lib.pubsub was based on, so the implementation will be almost the same. You can read its documentation here.
To install PyPubSub, use pip:
pip install PyPubSub
Then replace from wx.lib.pubsub import pub with from pubsub import pub.
Simply change references to
wx.lib.pubsubtopubsubSo for example: