Traceback (most recent call last):
File "E:\学习python\链家(1).py", line 36, in
csv_writer.writeheader()#写入表头
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\Lib\csv.py", line 142, in writeheader
header = dict(zip(self.fieldnames, self.fieldnames))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'set'
1. 选择file(文件) >>> setting(设置) >>> Project(项目) >>> python interpreter(python解释器)
2. 点击齿轮, 选择add
3. 添加python安装路径