pythonimp

the imp module is deprecated in favour of importlib


I use sublime , this is my code:

when I build it, it warning:

and my python version is 3.6.4.

how could i do? thank you!


Solution

  • It's just a warning, and it's in a module that isn't written by you, so you can either upgrade your dependencies to try to resolve it, or ignore it, or filter it out using the warnings module: How to disable python warnings