[DRE-maint] Bug#725312: Ohai does not detect python3
Vivek K J
vivekkj at disroot.org
Mon Jan 15 17:31:58 GMT 2024
Hello,
It appears that this is not a bug. Ohai is identifying the presence of
Python by executing the command[1]:
python -c "import sys; print(sys.version)"
However, this method does not detect python3. To address this issue, a
workaround would be to install the python-is-python3 package.
[1] -
https://github.com/chef/ohai/blob/6d64237f9987c3bf51805e19884e6e710c3a40f6/lib/ohai/plugins/python.rb#L26
--
Regards,
Vivek K J
Debian Maintainer
---------------------------------------------------------------------------
.''`.
Personal Website: https://vivekkj.in : :' :
GPG Key: D017 9263 E202 0E40 7157 4073 A5FF 4BB3 EA53 C5DF `. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA5FF4BB3EA53C5DF.asc
Type: application/pgp-keys
Size: 4829 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20240115/42111a4f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20240115/42111a4f/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list