lac icon indicating copy to clipboard operation
lac copied to clipboard

如何去掉“Deprecated. Please use CreatePredictor instead.” 这个warning?

Open yayaQAQ opened this issue 3 years ago • 2 comments

调用lac的时候会报这个warning: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. warnings.warn( W0508 10:57:49.234634 291947968 analysis_predictor.cc:1145] Deprecated. Please use CreatePredictor instead. 使用是正常的,但是报这个warning就比较难受了。

yayaQAQ avatar May 08 '21 03:05 yayaQAQ

真的程序员是不会在意 Warning 的!除非是 Error~

libertatis avatar Jul 16 '21 14:07 libertatis

但是它会在报错的时候重复打印两个log,就很难受了。

yayaQAQ avatar Jul 28 '21 06:07 yayaQAQ

太真实了,笑死

junhua-huang avatar Sep 29 '22 12:09 junhua-huang