编程语言
首页 > 编程语言> > Python中UI执行时报错:Enable tracemalloc to get the object allocation traceback

Python中UI执行时报错:Enable tracemalloc to get the object allocation traceback

作者:互联网

 解决方法:

  1. 导入:import warnings
  2. 添加:warnings.simplefilter('ignore', ResourceWarning)


 

标签:tracemalloc,Enable,warnings,object,allocation,get
来源: https://www.cnblogs.com/brf-test/p/15834693.html