1
나는 pyinstaller로 꽤 기본적인 실행 파일을 만들려고했지만 winpexpect (pexpect의 윈도우 버전)를 실행하면 꽤 알아볼 수없는 오류가 발생합니다. 나는 정말로 winspawn 클래스를 사용할 때 에러가 발생했다는 것을 추론 할 수있었습니다.pyinstaller로 winpexpect 패키징하기
C:\Users\Dan\Dropbox\Programming\Python\MC\ServerSense>ServerSense.exe
Traceback (most recent call last):
File "<string>", line 170, in <module>
File "<string>", line 52, in __init__
File "C:\Users\Dan\Dropbox\Programming\Python\Packagers\PyInstaller\PyInstalle
r-2.1\ServerSense\build\ServerSense\out00-PYZ.pyz\winpexpect", line 346, in __in
it__
File "C:\Users\Dan\Dropbox\Programming\Python\Packagers\PyInstaller\PyInstalle
r-2.1\ServerSense\build\ServerSense\out00-PYZ.pyz\pexpect", line 429, in __init_
_
File "C:\Users\Dan\Dropbox\Programming\Python\Packagers\PyInstaller\PyInstalle
r-2.1\ServerSense\build\ServerSense\out00-PYZ.pyz\winpexpect", line 401, in _spa
wn
pywintypes.error: (2, 'CreateProcess', 'The system cannot find the file specifie
d.')
누구든지 pyinstaller로 winpexpect를 패키징하는 방법에 대한 통찰력을 얻을 수 있습니까? 찾을 수없는 파일을 알려주는 것조차 보이지 않습니다. (py2exe에 그것이 내가 사용하는거야, 너무 작동합니다.)
, https://bitbucket.org/weyou/winpexpect/wiki/Home나 cx_Freeze 지원을하고있다 :