Show warning messages in console
已回答
Hi!
I have a question.
How to disable output to the console messages like the warning?
请先登录再写评论。
Hi, could you give a bit more of an example, and perhaps a screenshot? Do you mean tracebacks in the Python Console, or warnings in the editor tab?
Yes, I mean tracebacks in the Python Console.
This is more of a Python question than a PyCharm question, as those deprecation warnings are part of what the Python interpreter renders.
Obviously the right answer is to rewrite your code to not use functions that are deprecated by scikit and instead use the supported functions.
But if you really want to hide that (useful) information, you can read the Python docs about controlling warnings.
Ok. Thank you!
How to hide log warnings likes in this screenshot?
Hi Nejia! Do you receive this warning only in PyCharm? Could you please provide a code sample to reproduce it?
Hi,
I receive this warning in Windows console as well, is there a Pycharm setting to not display log messages (warning and information messages)?
thanks!
I think to hide warning message I must handle it in my app