使用PyInstaller打包文件出现错误: script "路径" not found python 打包错误原因:DOS不支持Windows的长文件名,文件名不能超过8个字符。 解决方法:可将py文件直接移动到磁盘下子文件打包。