在pycharm中运行程序没有问题,但是一开启debug模式就报错
求助
在pycharm中运行程序没有问题,但是一开启debug模式就报错!!!!!
debug模式下的报错如下
E:\python3\python.exe E:/pycode/mygit/hello.py
Traceback (most recent call last):
File "E:/pycode/mygit/hello.py", line 3, in <module>
import pickle
File "E:\pycode\pickle.py", line 5, in <module>
dictfile.write(key)
TypeError: 'str' does not support the buffer interface
Process finished with exit code 1
以下是我运行的程序
不管是什么程序debug模式都是这样,所以应该不是程序的问题
这是我的编译环境