#python打包flask项目(纯后端)exe遇到的路径问题
###使用Pyinstaller打包exe ,打包命令:
pyinstaller -F 项目入口.py
路径解析错误的解决办法见图:
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210121094430250.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10
#python打包flask项目(纯后端)exe遇到的路径问题
###使用Pyinstaller打包exe ,打包命令:
pyinstaller -F 项目入口.py
路径解析错误的解决办法见图:
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210121094430250.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10