from PySide2.QtCore import Slot from PySide2.QtGui import QKeySequence from PySide2.QtWidgets import QMainWindow, QAction,QApplication,QVBoxLayout,QLabel,QFrame import sys import numpy as np import pandas as pd from functools import reduce
打包完成执行exe文件时,提示Failed to execute script pyi_rth_pkgres
可以通过增加hidden-import参数(Name an import not visible in the code of the script(s). This option can be used multiple times.)解决:"pyinstaller --hidden-import=pkg_resources.py2_warn example.py"