Importing wx.adv - ubuntu 18.04

OS: Linux/Ubuntu 18.04
Python version: 3.6.9

I cannot find the wx.adv module in Ubuntu. I installed wxPython from Terminal with these commands:

sudo apt install python3-wxgtk4.0
sudo apt install python3-wxgtk-media4.0

Am I missing something?

Thank you in advanced

  • Rolando Muñoz

You are not. It’s in python3-wxgtk4.0.

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

$ dpkg-query -l | grep python3-wx
ii  python3-wxgtk-webview4.0                   4.0.1+dfsg-2                                     amd64        Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit (wx.html2)
ii  python3-wxgtk4.0                           4.0.1+dfsg-2                                     amd64        Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit

$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx.adv
>>> wx.adv
<module 'wx.adv' from '/usr/lib/python3/dist-packages/wx/adv.py'>
>>> 

Thank you!!! I don’t know what happened. Everything is fine now!