pythonw.exe is not responding

前端 未结 2 421
遇见更好的自我
遇见更好的自我 2021-01-27 03:37

I have been learning Python2.7 for a little bit now. I\'m using Windows 7 64 bit BTW. I started learning GUI\'s and have been trying to use wxpython and IDLE for this. So I type

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-27 04:20

    It seems that something might be polluting variables in the threading library, it looks like _sleep variable is being overwritten with an int value; in which case _sleep(x) will not work since _sleep is an int and ints are not callable.

    It may be in your client code or in some framework code or libraries you are importing. Is that all of the code?

    Try running this code from a plain python terminal, not from an IDE like IDLE.

提交回复
热议问题