[問題] pyinstaller遇到問題
各位前輩開工大吉,
不才python新手,
前情提要:
原先安裝python 2.7+pyinstaller以後,又安裝anaconda2,
然後把原先python 2.7+pyinstaller刪掉,並在anaconda2下重裝pyinstaller
遇到的問題:
用anaconda2下的pyinstaller遇到錯誤如下,
Unable to find "C:\Windows\system32\pywintypes27.dll
[Info]: Event name is "\Sessions\1\BaseNamedObjects\MyEvent"." when ad
di
binary and data files.
[Info]: Event name is "\Sessions\1\BaseNamedObjects\MyEvent".
但檢查過C:\Windows\system32\pywintypes27.dll這檔案存在;
並測試過單純import os,
不import xlwings,numpy,sympy,
就不會出現這個錯誤,
且可以編譯成功.exe
請問為何會這樣呢?
謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.44.149.218
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1519312593.A.47E.html
※ 編輯: toy21343 (223.140.44.223), 02/22/2018 23:22:28
→
02/22 23:28,
6年前
, 1F
02/22 23:28, 1F
→
02/22 23:29,
6年前
, 2F
02/22 23:29, 2F
→
02/22 23:49,
6年前
, 3F
02/22 23:49, 3F
→
02/22 23:50,
6年前
, 4F
02/22 23:50, 4F
→
02/22 23:53,
6年前
, 5F
02/22 23:53, 5F
不才將pywin32與system32的dll直接刪除,並重裝正確位元的pywin32並貼dll到system32,
但還是得到一樣錯誤如下:
https://drive.google.com/open?id=1a0Tp9mOHuqEjqNotIpwUg2aH15knmPd5
這表示是其他dll有混位元嗎?
因為其他module是伴隨Anaconda2一起安裝,等於我重裝Anaconda是否會比較快呢?
謝謝~
※ 編輯: toy21343 (223.140.44.223), 02/23/2018 00:42:49
→
02/23 21:30,
6年前
, 6F
02/23 21:30, 6F
→
02/23 21:32,
6年前
, 7F
02/23 21:32, 7F
→
02/23 21:35,
6年前
, 8F
02/23 21:35, 8F
→
02/23 21:36,
6年前
, 9F
02/23 21:36, 9F
→ toy21343: 感謝兩位前輩幫忙,重灌已解決 02/25 12:
15
※ 編輯: toy21343 (223.140.44.223), 03/01/2018 02:25:04
→
03/01 22:19,
6年前
, 10F
03/01 22:19, 10F
→
03/02 17:26,
6年前
, 11F
03/02 17:26, 11F
→
03/03 06:45,
6年前
, 12F
03/03 06:45, 12F
→
03/06 03:39,
6年前
, 13F
03/06 03:39, 13F
→
03/06 04:17,
6年前
, 14F
03/06 04:17, 14F
→
03/06 04:30,
6年前
, 15F
03/06 04:30, 15F
→
03/06 04:40,
6年前
, 16F
03/06 04:40, 16F