Can't import wx.adv from wxPython

I am running Python3.8.2 on Ubuntu 20.04 with wxPython version 4.1.0 gtk3 (phoenix) wxWidgets 3.1.4. I cannot use it in a project I have cloned as I get the following error:

   import wx.adv
ImportError: No module named adv

I installed wxPython according to here and the setup did not fail. I am sure I have wxPython as I run it in the Python shell and see the version mentioned above. The only other relevant question I found was this but that problem was classic vs. phoenix, which I have the right type (phoenix).

Does anyone know why the module adv specifically cannot be found?

There’s more than one installation method shown there. Which did you try? Did you try fetching the wheel from here and install that?

https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/

What do you get if you do:

import wx
print(wx)

Does the path of the module match the prefix of the Python you used to build/install wxPython? Is that the same Python you are using when you run whatever it is that is importing wx.adv? If you look in that folder is there anything related to the adv module?