2017-12-16 3 views
0

스크립트는 매우 간단하며 UPX없이 작동합니다. 발사시UPX 실행시 잘못된 이미지 및 압축 할 수없는 예외

import selenium 
import scipy 
import pandas as pd 
print('Testing123') 

나는 EXE를 시작할 때

pyinstaller myfile.py --upx-dir=C:\upx394w --onedir

bad image, 나는 윈도우 64 비트를 사용하고 작동하지 않습니다 얻을.

pyinstaller az1.py --onedir –noupx (Az1.exe) [작품] 지금은 실행 나쁜 이미지를 얻을. 문제가 될 수 NotCompressibleException하지만 그렇지 않으면 (full command line output) 압축 할 나타납니다 : 만 실제 문제가 될 수있는 가치

참고 :

upx: C:\Users\H0u\AppData\Roaming\pyinstaller\bincache01_py36_64bit\api-ms-win-crt-multibyte-l1-1-0.dll: NotCompressibleException 
    69790 INFO: Building COLLECT out00-COLLECT.toc completed successfully. 

File

답변

0

좋아,이 이상한 것입니다. 이 여기에 일반적인 문제를 참조한다 :

https://github.com/pyinstaller/pyinstaller/issues/1565

삭제 vcruntime140.dll 수정이. 추가 테스트를 수행 할 예정이지만이 파일을 삭제하여 문제를 일으키지 만 (안전하지는 않을지는 확실하지만) 작동합니다.

관련 문제