1.解决方法一:使用open 代码如下: f=open("test.csv") data = pd.read_csv(f) 2.解决方法二:使用engine = 'python' 代码如下: data = pd.read_csv("test.csv",engine = 'python')