Comments (6)
Yes, these are the architectures listed by the toolchain's help, and s390x
is among them.
But what do you want to express with that? Again, as for adding a binary package, you'd have to discuss that with upstream. The binaries aren't built here, just repacked with a python wrapper.
from pypdfium2.
That is expected; our binary provider doesn't currently build for S390x.
But you can head over to https://github.com/bblanchon/pdfium-binaries/issues and ask the author whether he's willing to add support for S390x, then I could incorporate it in pypdfium2.
AFAIK, S390x is somewhat uncommon in the PyPI world, though. Not even pillow or pikepdf build for it.
You might have more luck on Anaconda (S390x is in their default build matrix), but they don't really provide (py)pdfium, aside from a feedstock that repacks the pdfium-binaries.
Otherwise, you could try to build pdfium from source (I don't know whether Google's toolchain supports S390x as build host). But you should use a recent version of pypdfium2 for that, not 0.7.0 (who depends on that old version, I wonder?).
from pypdfium2.
Another hint: If you have libreoffice, you might be able to simply use the pdfium binary it ships with.
For me that is /usr/lib/libreoffice/program/libpdfiumlo.so
. Just symlink to /usr/local/lib/libpdfium.so
or something, determine the pdfium version, and then install with system-provided binary.
from pypdfium2.
Regarding the failure of implicit sourcebuild, this seems to be due to outdated patches. I can see it's a bit problematic we're using latest pdfium with potentially non-latest patches.
Newer versions do not trigger an implicit sourcebuild anymore if no binary was found. I think it's better for callers to consciously invoke the build process if desired.
from pypdfium2.
Hi @mara004 ,
Thanks for quick response.
bblanchon/pdfium-binaries#93.
`Possible values
- "x86"
- "x64"
- "arm"
- "arm64"
- "mipsel"
- "mips64el"
- "s390x"
- "ppc64"
- "riscv32"
- "riscv64"
- "e2k"
- "loong64"`
from pypdfium2.
Closing; further actions are up to affected users, pdfium-binaries and pdfium.
from pypdfium2.
Related Issues (20)
- conda: consider reading pdfium-binaries version from system?
- Installation failures within a Docker container, problem with ctypesgen? HOT 3
- Parsing special characters leading to inconsistency among different machines HOT 6
- musl binary size concerns
- pdfium fails to load in PHP on Almalinux 8.9 (PartitionAlloc check failure) HOT 8
- Buffer size mismatch when calling `get_text_range` HOT 14
- page.set_rotation() Over Rotating Some Pages
- page.render function returns an unexpected image HOT 7
- PdfDocument.get_page is non-thread-safe HOT 1
- Got different result of "pdfium_page.render()" on MacOS and Linux HOT 1
- Extracting text with special characters HOT 7
- expose more details in PdfiumError HOT 3
- Weird "PDFium: Data format error" when using pypdfium2 in Celery task. HOT 11
- The render func does not render form fields. HOT 4
- After get_text_bounded, cannot MOVE file HOT 2
- Install with reference bindings broken
- Extract form-filling values from a PDF document that supports Acroform HOT 1
- 当,pdf某一页异常的时候,renderer 到那一页后就会一直卡顿 HOT 2
- Adapt setup code to `bdist_wheel` relocation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypdfium2.