#i got a Importerror no module named apt_pkg after updgrade python

9 messages · Page 1 of 1 (latest)

novel crypt
#

this is the message

snow garden
#

I have two ideas:

  1. The apt_pkg module doesn't support the latest version of Python and was automatically uninstalled due to a dependency mismatch
  2. You simply don't have it installed. In that case, try sudo apt install python3-apt

But also, note that you have third-party repositories added which may CONFLICT with Mint's packages. This could lead to this error as your python version may be newer than what Mint supports.

novel crypt
snow garden
#

For context, this is what it looks like for me on a pretty fresh mint install without extra repositories or PPAs:

novel crypt
#

but i've found how to fix that problem and now again i have python 3.10.12 default

snow garden
junior sundial