-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Building from source on Windows #8603
Comments
Hi. I've restored the file, so it should work if you try again. I gather you're building Pillow 10.4.0 or earlier. Is there any particular reason you're not building the latest version of Pillow? |
Thank you @radarhere for restoring the files. I was able to build it. Yes, I am trying to build 10.4.0. Building this because same version I built on Linux for matplotlib, and want to keep versions same on both platform. After installation I am seeing this error -
|
Could you uninstall Pillow, |
I retried all the steps. attaching the logs .
|
@radarhere , Please help how can I debug this issue. |
I'm not a Windows user, so I'm not as familiar with this as I could be. I've tried searching online, but results involve Conda or MinGW, which it doesn't look like you're using. I imagine you're deliberately installing from source, and are not interested in the wheel. I expect we would have received other reports by now if something was broken with normal execution of this script, so I imagine there must be something unusual about your setup. Perhaps @nulano has some insight? |
@nulano could you please provide any pointers or suggestions that might help in debugging the issue? |
Why are you actually attempting to build from source, rather than installing Pillow normally? |
I typically use ProcessMonitor to figure out which DLL is missing and what paths were used to look for it.
However, _imaging should not depend on any additional DLLs if built correctly, so I suspect you have some .lib file leaking in from your system; we can diagnose that if you add While it is likely not causing your issue, I should also note that you sometimes need to delete the |
@Ganeshkumhar1 was that helpful? |
trying to build pillow using instructions given here -
https://github.com/python-pillow/Pillow/blob/main/.appveyor.yml
seems libjpeg-turbo-3.0.3.tar.gz is not present on given location. (ran winbuild\build_prepare.py )
Fetching https://raw.githubusercontent.com/python-pillow/pillow-depends/main/libjpeg-turbo-3.0.3.tar.gz (attempt 1)...
Fetching https://raw.githubusercontent.com/python-pillow/pillow-depends/main/libjpeg-turbo-3.0.3.tar.gz (attempt 2)...
Fetching https://raw.githubusercontent.com/python-pillow/pillow-depends/main/libjpeg-turbo-3.0.3.tar.gz (attempt 3)...
HTTP Error 404: Not Found
Please check
The text was updated successfully, but these errors were encountered: