使用pyinstaller创建包。 tkinter在tk中正在打包。我甚至使用--windowed选项但是_tkinter_finder似乎没有加载。我在scikit中遇到了类似的错误,并在命令行上使用--hidden-import sklearn.neighbors.typedefs解决了它。我应该使用哪个模块--hidden-import来解决此错误?
Traceback (most recent call last):
File "guicam2.py", line 418, in <module>
File "PIL/ImageTk.py", line 120, in __init__
File "PIL/ImageTk.py", line 185, in paste
File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyimod03_importers.py", line 546, in load_module
module = imp.load_module(fullname, fp, filename, ext_tuple)
ImportError: No module named _tkinter_finder