[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [help] pymol: Deprecation warning during startup



On Tue, Dec 14, 2021 at 09:17:31PM +0100, Andreas Tille wrote:
> 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'
You should explicitly import modules that you are using, such as
`importlib.util`.

> which I do not understand at all since at command line there is the attribute 'util'.
As you can see in sys.modules, some modules are imported by default in
some circumstabces. You shouldn't depend on that.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: