1、绘图的时候 _tkinter.TclError: Can't set icon; window has no wrapper.
解决办法一:是因为matplotlib的版本不匹配,需要pip install --upgrade matplotlib
解决办法二:代码加上:plt.switch_backend('agg')
2、创建虚拟环境:ERROR conda.core.link:_execute(502): An error occurred while installing package 'defaults::vs2015_runtime-14.27.29016-h5e58377_2'.
当百度的方案都试过之后,还找不到问题的话,重启会解决99%的问题。
3、打开exe,如果部分人可以打开,部分人打不开,报错Fatal error detected,打不开的人也可以试试重启。
4、运行sh脚本文件时,报错:未预期的符号 `$'in\r'' 附近有语法错误 'ecaylife_server_manger.sh
解决:sh脚本最优用pycharm编辑,不然转义字符容易报错。