와인 5.0에 Python 3.7 설치

와인 5.0에 Python 3.7 설치

Windows용 Python 프로젝트를 크로스 컴파일할 수 있도록 Wine 5.0에 Python 3.7.8을 설치하려고 합니다. 아직 wine32를 설치하지 않았지만 설치해도 괜찮습니다. Python 설치 프로그램 실행 파일(python-3.7.8-amd64.exe)을 다운로드하고 이 작업을 시도했지만 wine python-3.7.8-amd64.exe다음 오류가 발생합니다.

0010:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0010:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0010:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0010:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0010:err:ole:get_local_server_stream Failed: 80004002

그런 다음 포함된 zip 파일을 다운로드하고 압축을 푼 ~/.wine/drive_c/python37/다음 터미널에서 다음과 같이 실행했습니다. wine ~/.wine/drive_c/python37/python.exe이로 인해 다음 오류가 발생했습니다.

Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python

이 문제를 어떻게 해결할 수 있나요? 와인에 Python 3.7을 설치할 수 있는 다른 방법이 있나요?

답변1

문제 자체를 해결한 것은 아니지만 해결 방법을 찾았습니다. 방금 sudo를 사용했는데 제대로 작동한 것 같습니다. 유일한 단점은 와인에서 Python을 사용하려면 지속적으로 루트 권한을 받아야 한다는 것입니다. 그러나 적어도 작동합니다.

관련 정보