缺少DLL文件
下载至系统指定文件夹内
路劲解析失败,
import sys
import os
if hasattr(sys, 'frozen'):
os.environ['PATH'] = sys._MEIPASS + ";" + os.environ['PATH']
def resource_path(relative_path):
if getattr(sys, 'frozen', False): #是否Bundle Resource
base_path = sys._MEIPASS
else:
base_path = os.path.abspath(".")
return os.path.join(base_path, relative_path)
currentpath = resource_path("res")
pymysql not found,但是pip installer 显示以安装
在文件开头,调用 import pymysql
https://blog.csdn.net/xiong_big/article/details/54614231