文章目录
- ⚠️python SyntaxError: Non-UTF-8 code starting with ‘\xb3‘ in file
 - ⚠️partially initialized module ‘×ב has no attribute ‘×ב(most likely due to a circular import)
 - ⚠️AttributeError: ‘DataFrame‘ object has no attribute ‘append‘
 
⚠️python SyntaxError: Non-UTF-8 code starting with ‘\xb3‘ in file
- 原因:代码里有中文,这个中文没有用utf-8的编码格式。
 - 解决方法(二选一) 
  
- 删除中文
 - 在python文件的第一行写
# coding:utf-8。 
 
⚠️partially initialized module ‘×ב has no attribute ‘×ב(most likely due to a circular import)
- 原因:py文件不能用类名命名,比如wordcloud.py。
 - 解决方法:将文件名改为其他非类名。
 
⚠️AttributeError: ‘DataFrame‘ object has no attribute ‘append‘
- 原因:pandas版本问题
 - 解决方法:
pip install pandas==1.3.4

 



















