ipdb:RuntimeWarning:导入软件包“ ipdb”后,在sys.modules中找到“ ipdb .__ main__”

时间:2019-03-21 18:01:41

标签: python ipdb

我正在使用ipdb调试我的python,如下所示:

python -m ipdb my_test.py -d my_input_config -o my_output

,并出现以下错误:

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py:125: RuntimeWarning: 'ipdb.__main__' found in sys.modules after import of package 'ipdb', but prior to execution of 'ipdb.__main__'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))

这是什么意思,我该如何解决?谢谢!

0 个答案:

没有答案