ModuleNotFoundError
pip show joblib
1 pip show joblib
Name: joblib
Version: 1.3.2
Summary: Lightweight pipelining with Python functions
Home-page:
Author:
Author-email: Gael Varoquaux <gael.varoquaux@normalesup.org>
License: BSD 3-Clause
Location: C:\Python311\Lib\site-packages
Requires:
Required-by: scikit-learn
2 修改 spec文件:
a = Analysis(
['predictApp.py'],
pathex=['C:\\Python311\Lib\\site-packages\\site-packages'],
binaries=[],
datas=[('random_forest_input_model2.pkl', 'models')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=