不建议使用imp模块,而要使用importlib?

问题描述

导入sklearn库时,出现以下错误

DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

具有这样的路径:

xyz\site-packages\sklearn\externals\joblib\externals\cloudpickle\cloudpickle

尽管我的代码正在运行,但是此警告看起来很烦人。 我该如何忽略呢?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)