请问这是什么问题?我都安装了easygui了
Traceback (most recent call last):File "E:\PyCharm 2020.1.2\plugins\python\helpers\pydev\pydevd.py", line 36, in <module>
from _pydevd_bundle import pydevd_vars
File "E:\PyCharm 2020.1.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_vars.py", line 5, in <module>
import pickle
File "I:\python例子\pickle.py", line 1, in <module>
p
NameError: name 'p' is not defined
Process finished with exit code 1 能把代码全发出来 name 'p' is not defined
检查一下这个变量P在哪里,到底有没有定义 文件名不要叫 pickle.py 改个名
不然和真正的 pickle 模块重复了就会报错
而且你这是 pickle 模块的问题呀,和 easygui 没关系
页:
[1]