-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pip hangs when installing PyInstaller #103
Comments
I have experienced this same problem today. |
Same issue here. I played around with permissions but that didn't change anything. I also ran "pip install pyinstaller==3.6" as an admin in cmd, which worked and successfully installed and built the dependencies. However, I ran the startup.sh file again and it got stuck at the exact same point again. |
Hi, i'm having the same issue here. The image worked like a charm a few months ago (June/August 2020) then i always used it and it caused no problem at all. It gets stuck at this point of the building process, as the other users pointed out.
Here are some info about the docker env:
I could post the whole building process standard output, but its huge. EDIT
|
I had tried all the above to, downgrading to pip 20.2.2 and doing it in different PCs. What makes it curious is the fact that the linux builds work just fine and they are very similar in terms of functionalilty, but for some reason, maybe using wine, it fails getting the dependencies. |
We had the same problem yesterday. We solved it by downgrading wine from wine-testing to wine-stable. |
@lraphael that's it! Thank you so much! It was such a simple tweak... |
Yes, the solution is simple and yet it took us a few hours yesterday to understand it. |
Are we sure this is the solution? I mean it did generate the dockerfile for me (after having updated the windows 64 file where python was changed to 3.9 (and its corresponding folders) and pyinstaller to 4.0), I run the docker command and get the following error::
|
Can you guys help me with this ? I mean i know this is another issue but the problem is docker so i want your help.. <3
|
Tl;dr Works
Longer version: Example code:
Strace:
proc/stack:
This seams pretty severe wine bug. Can someone with a wine login can report that bug https://bugs.winehq.org/ :) |
I had the same problem when trying to use Dockerfile-py3-win64. |
Getting the same issue, have you found the issue? @skysb |
I have cloned the repo to upgrade the Python version to 3.9.0 for the windows 64 file and PyInstaller 4.0.
The changes were the two environment variables as above and Python37 replaced with Python39.
Whilst the image for docker is being created, it reaches the following point:
Collecting pyinstaller==4.0
Downloading pyinstaller-4.0.tar.gz (3.5 MB)
Installing build dependencies: started
And it gets stuck there and doesn´t continue. I have tried downgrading the python version to 3.8.5 and Pyinstaller to 3.6 and yet the issue occurs.
I have also tried manually installed PIP in the docker file to version 20.0.2 as commented in this post:
and yet no success, it hangs at the same point.
pypa/pip#8183
The Linux image gets created correctly with the above changes but it´s the windows image that fails always.
Is there something that's being done wrong?
Cheers
The text was updated successfully, but these errors were encountered: