cdrx / docker-pyinstaller

PyInstaller for Linux and Windows inside Docker
MIT License
616 stars 238 forks source link

Adding Dockerfile with Python 3.8 and pyinstaller 4.0.0 #102

Open gmatheu opened 4 years ago

Toilal commented 3 years ago

It seems that you could have edited the existing Dockerfile to use a more generic Python installation path, like C:\Python. Then, the python version can be changed by giving build argument PYTHON_VERSION to the docker build command (with --build-arg flag).

guysoft commented 3 years ago

Hey, is there a way to modify this so it will get in?

arossert commented 3 years ago

@gmatheu I tried to build this Dockerfile but it seems to hang forever when it gets to the stage when it installs pyinstaller using pip. Any reason why it happens?

Step 18/25 : RUN /usr/bin/pip install pyinstaller==$PYINSTALLER_VERSION
 ---> Running in 22037728eba9
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0088:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
00d8:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
Collecting pyinstaller==4.2
  Downloading pyinstaller-4.2.tar.gz (3.6 MB)
  Installing build dependencies: started
deridiot commented 3 years ago

@gmatheu I tried to build this Dockerfile but it seems to hang forever when it gets to the stage when it installs pyinstaller using pip. Any reason why it happens?

Step 18/25 : RUN /usr/bin/pip install pyinstaller==$PYINSTALLER_VERSION
 ---> Running in 22037728eba9
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0088:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
00d8:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
Collecting pyinstaller==4.2
  Downloading pyinstaller-4.2.tar.gz (3.6 MB)
  Installing build dependencies: started

that's unrelated to this push request and related to a different issue: https://github.com/cdrx/docker-pyinstaller/issues/103

wine-staging seems to be buggy in regards to this project. Can confirm it's works fine with winehq-stable

rafaelncarvalho commented 2 years ago

Any news about this PR?