Public bug reported:

I recently upgraded from 23.10 to 24.04 of Ubuntu. When running pip3
list installed or sudo pip3 list installed I get the warning:

WARNING: Skipping /usr/lib/python3.12/dist-
packages/charset_normalizer-3.3.2.dist-info due to invalid metadata
entry 'name'

Navigating to this path, it is a directory with only one file called
"INSTALLER" with the contents "Debian". None of the other files
regarding the package info are in this folder.

This is the only folder in the /usr/lib/python3.12/dist-packages
directory as well.

I then attempted to reinstall the python-charset-normalizer package.
This made no change.

Removing the /usr/lib/python3.12/dist-
packages/charset_normalizer-3.3.2.dist-info directory resolves the
error, and I can still see the charset_normalizer pip module is
installed.

The package seems to be completely installed in /usr/lib/python3/dist-
packages/charset_normalizer-3.3.2.dist-info and /usr/lib/python3/dist-
packages/charset_normalizer.

As further troubleshooting, I installed the package on my additional
Ubuntu 24.04 machine, and the same behaviour is occurring.

This warning is a little annoying but, I don't think it's causing any
issues other than a warning in pip output. My guess is that it's a deb
packaging issue copying this file to the /usr/lib/python3.12/dist-
packages/charset_normalizer-3.3.2.dist-info directory inadvertently
during deb install.

** Affects: python-charset-normalizer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076497

Title:
  pip list WARNING: Skipping /usr/lib/python3.12/dist-
  packages/charset_normalizer-3.3.2.dist-info due to invalid metadata
  entry 'name'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-charset-normalizer/+bug/2076497/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to