|
5鱼币
- >>> import tkinter
- IDLE internal error in runcode()
- Traceback (most recent call last):
- File "C:\Users\Ljy\AppData\Local\Programs\Python\Python39\lib\idlelib\rpc.py", line 342, in putmessage
- r, w, x = select.select([], [self.sock], [])
- TypeError: argument must be an int, or have a fileno() method.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\Ljy\AppData\Local\Programs\Python\Python39\lib\idlelib\rpc.py", line 243, in asyncqueue
- self.putmessage((seq, request))
- File "C:\Users\Ljy\AppData\Local\Programs\Python\Python39\lib\idlelib\rpc.py", line 345, in putmessage
- raise OSError("socket no longer exists")
- OSError: socket no longer exists
复制代码
代码如上
可能是有文件和 python 关键字、内置函数、模块啥的重名了
你是不是装了两个版本的 python ?
|
最佳答案
查看完整内容
可能是有文件和 python 关键字、内置函数、模块啥的重名了
你是不是装了两个版本的 python ?
|