DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
See original GitHub issueAs of Python 3.7 or thereabouts, we get this warning on startup:
./electron-cash:96: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
It’s a bit annoying to refactor these lines using importlib
because we rename the modules.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
the imp module is deprecated in favour of importlib ... - GitHub
DeprecationWarning: the imp module is deprecated in favour of importlib ; see the module's documentation for alternative uses #2326.
Read more >imp module is deprecated in favour of importlib - Stack Overflow
I'm using pandas in my code and in pandas they use the imp nodule. Now I get the following ...
Read more >imp — Access the import internals — Python 3.11.1 ...
Deprecated since version 3.4, will be removed in version 3.12: The imp module is deprecated in favor of importlib . This module provides...
Read more >the imp module is deprecated in favour of importlib; see the ...
DeprecationWarning: the imp module is deprecated in favour of importlib. The reason for this problem is that the imp library is abandoned after...
Read more >the imp module is deprecated in favour of importlib
DeprecationWarning: the imp module is deprecated in favour of importlib ; see the module's documentation for alternative uses <class 'DeprecationWarning'> ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See also #807.
Ah coo. Thanks for the info.
Well, given that we are still on 3.6 officially – and even the odd person won’t be installing 3.10 until 2021 at the earliest – I’ll backlog this. This is more a nit than anything – it would be nice to remove the imp module stuff altogether but it’s annoying little work that takes like 4 hours to get right and test.