For example, I would like to know the version of the builtin logging
module. Trying around a bit:
$ pip show logging | grep version
WARNING: Package(s) not found: logging
$ pip show stdlib | grep version
WARNING: Package(s) not found: stdlib
pip freeze
does not list the builtin modules either.
And going through other things from How to check version of python modules?, I do not find a way to see the logging
version.
Have I misunderstood something, is this just dependent on my Python version 3.10.2
? I am not even sure whether such builtin module is a module at all (you do not pip install logging
), and I guess it is not a package (you do not apt-get install python3-logging
or the like). I just add the tags package
and python-module
as the only ones coming to my mind.