[Debichem-devel] Bug#929700: [help] pymol: Deprecation warning during startup

Daniel Leidert dleidert at debian.org
Tue Dec 14 23:06:53 GMT 2021


Am Dienstag, dem 14.12.2021 um 21:17 +0100 schrieb Andreas Tille:
> Hi,
> 
> I think I've fixed the issue[1] and it works nicely at command line. 
> Unfortunately
> Salsa-CI[2] shows a new issue
> 
>    AttributeError: module 'importlib' has no attribute 'util'
> 
> which I do not understand at all since at command line there is the attribute
> 'util'.

importlib/util.py is part of libpython3.x-minimal, and while libpython3.10-
minimal gets installed, libpython3.9-minimal is not and it seems, python3.9 is
the default. So technically the error would be correct.

As I said in my other mail, maybe use

import importlib.util; ...

Not sure of that fixes your dependencies. You have to depend on the right
libpython3.x-minimal, it seems.

HTH Daniel
-- 
Regards,
Daniel Leidert <dleidert at debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20211215/8277c0e4/attachment-0001.sig>


More information about the Debichem-devel mailing list