Skip to content
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

Error running build_prepare.py #6328

Closed
dmay31 opened this issue May 24, 2022 · 2 comments
Closed

Error running build_prepare.py #6328

dmay31 opened this issue May 24, 2022 · 2 comments

Comments

@dmay31
Copy link

dmay31 commented May 24, 2022

Trying to run build_prepare.py on windows and it can download
https://iweb.dl.sourceforge.net/project/libjpeg-turbo/2.1.3/libjpeg-turbo-2.1.3.tar.gz

I also can not get this file from a normal web browser.

python3 build_prepare.py
Caching dependencies in: E:\grmn\prj\fit\Pillow\winbuild\depends
Target Python: C:\Python38\python3.exe
Target Architecture: x64
Found Visual Studio at: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional

Fetching https://iweb.dl.sourceforge.net/project/libjpeg-turbo/2.1.3/libjpeg-turbo-2.1.3.tar.gz (attempt 1)...
Fetching https://iweb.dl.sourceforge.net/project/libjpeg-turbo/2.1.3/libjpeg-turbo-2.1.3.tar.gz (attempt 2)...
Traceback (most recent call last):
File "C:\Python38\lib\socket.py", line 796, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

@nulano
Copy link
Contributor

nulano commented May 24, 2022

The link is timing out for me as well at the moment.

You can download a cached copy from https://github.com/python-pillow/pillow-depends/blob/main/libjpeg-turbo-2.1.3.tar.gz and place it in Pillow/winbuild/depends to bypass the download. (You may have to create this directory first.)

@radarhere
Copy link
Member

This has been raised again as #6343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants