나는 cxFreeze를 사용하는 programm에 쓴하지만 cxFreeze으로 컴파일하려고하면 나는 오류 얻을 :수입 hashlib - cxFreeze
Missing modules: ? _md5 imported from hashlib ? _sha1 imported from hashlib ? _sha256 imported from hashlib ? _sha512 imported from hashlib
cxFreeze가 hashlib 모듈 때문에와 호환되지 않습니다 것을, 나에게 것을 오류는 재현하기 쉽습니다. hashlib를 가져와 컴파일하려고하면됩니다.
예 : cx_test.py : (cxFreeze에 대한)
import hashlib
setup.py :
import sys
from cx_Freeze import setup, Executable
buildOptions = dict(
compressed = True,
path = sys.path)
setup(
name = "Hashlibtest",
options = dict(build_exe = buildOptions),
includes = ["hashlib"],
executables = [Executable("cx_test.py")]
)
어떤 아이디어를 내가 문제를 해결할 수있는 방법? 나는 우분투 12.04
전에 읽었지만 내 경우에는 프로그램이 작동하지 않습니다. 나는 또한 창문 아래에서 그것을 컴파일하고 프로그램에 아무런 문제가 없다. 리눅스 전용 문제는 ...? –
프로그램에서 어떤 오류가 있습니까? –