解決方案:ide
import sysspa
import os,shutilget
if hasattr(sys, 'frozen'):it
os.environ['PATH'] = sys._MEIPASS + ";" + os.environ['PATH']class
from PyQt5.QtWidgets import *import
from PyQt5.QtCore import *im
必定要放到PyQt5的前面di