python 3.x - Missing wxversion when using matplotlib with wxPython/Phoenix in Python3 -


i want use matplotlib wxpython (more concret: wxphoenix) in python3. code below doesn't work because of missing wxversion.

#!/usr/bin/env python3 # -*- coding: utf-8 -*-  import wx import matplotlib matplotlib.backends.backend_wxagg import figurecanvaswxagg 

there no ubuntu-package python3-wxversion, no pip3-package. btw: python2 can import wxversion. used matplotlib ubuntu-repository (1.3.1) , upgraded 1 pip3.

how can install wxversion python3 , why missing?

i using wxpython-phoenix (3.0.3.dev1820+49a8884).

there many other issues mpl , wxpython phoenix, there pr https://github.com/matplotlib/matplotlib/pull/3421 merged in may, not sure if there has been release of mpl since then. think in 1.5dev1, not sure, please check mpl devs.


Comments