楼主:
toy21343 (TOoOT)
2018-02-22 23:16:30各位前辈开工大吉,
不才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
请问为何会这样呢?
谢谢~
楼主:
toy21343 (TOoOT)
2018-02-22 23:49:00pywin32有pythoncom27,pythoncomloader27,pywintypes27这三种.dll,所以是pywin32+sys32下移除这三个,然后重装pywin32吗?还是u大指别的dll呢?如果是要如何看dll位元?