当前位置:   article > 正文

pyqt5和spyder版本对应,在Spyder中运行PyQt5应用时,它始终以-1退出

an exception has occurred, use %tb to see the full traceback. systemexit: -1

I am learning to program with PyQt5. No troubles with that, but there is one annoying issue: when I start the app, I immediately get the message that an exception occurred and SystemExit: -1 is repported (see below).

An exception has occurred, use %tb to see the full traceback.

SystemExit: -1

/home/arnold/bin/anaconda3/envs/ml-gpu/lib/python3.5/site-packages/IPython/core/interactiveshell.py:2918: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.

warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

In [2]: %tb

Traceback (most recent call last):

File "", line 1, in

runfile('/media/d/home/arnold/development/python/course_Qt/01-basic-window.py', wdir='/media/d/home/arnold/development/python/course_Qt')

File "/home/arnold/bin/anaconda3/envs/ml-

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/342028
推荐阅读
相关标签
  

闽ICP备14008679号