大家晚安
我想問一下
我用pyinstaller做出來的執行檔 在執行的時候會一直報錯
Traceback (most recent call last):
File "main_Preview_v4_4.py", line 12, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\__init__.py", line 6, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\workbook\__init__.py", line 5, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\workbook\workbook.py", line 8, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\worksheet\worksheet.py", line 29, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\cell\__init__.py", line 4, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\openpyxl\cell\cell.py", line 65, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\pandas\__init__.py", line 42, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\pandas\core\api.py", line 26, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\pandas\core\groupby\__init__.py", line 1, in <module>
File
"c:\users\alphalin\appdata\local\temp\pip-unpacked-wheel-dw4d2a\PyInstaller\loader\pyimod03_importers.py",
line 396, in load_module
File "site-packages\pandas\core\groupby\groupby.py", line 20, in <module>
AttributeError: 'module' object has no attribute 'compat'
[16764] Failed to execute script main_Preview_v4_4
可是我的程式裡面並沒有用到pandas...
請問 這要怎麼解決阿....?