求助

在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

以下是我运行的程序

在pycharm中运行程序没有问题,但是一开启debug模式就报错

不管是什么程序debug模式都是这样,所以应该不是程序的问题

这是我的编译环境

在pycharm中运行程序没有问题,但是一开启debug模式就报错

相关文章:

  • 2022-12-23
  • 2020-05-18
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-06-20
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2021-10-20
  • 2021-12-13
  • 2021-09-21
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案