Code Monkey home page Code Monkey logo

Comments (3)

Ying322 avatar Ying322 commented on June 23, 2024 1

Thank you for your reply. I used 'pip3 install git+https://github.com/pypdfium2-team/pypdfium2'.

from pypdfium2.

mara004 avatar mara004 commented on June 23, 2024

AFAICS, this will be a reoccurrence of #264 (comment):

Setup requires our fork of ctypesgen, which has recently received API-breaking changes. The latest release is still authored for the old codebase, however the main branch is updated. As a workaround, I'd suggest to just install from main using pip3 install git+https://github.com/pypdfium2-team/pypdfium2.

I'm currently making efforts to overhaul the ctypesgen codebase, which inevitably involves API-breaking changes.
Unfortunately this means the current latest release is not installable from source ATM.

Again, as in the linked issue, I don't understand why the wheel wasn't used and a source install happened, though...

Update: Previously this post complained about the edited issue template and missing debug info. However, taking a step back I acknowledge it was not overly applicable here. Two of the commands would fail, and the platform we can deduce from the Dockerfile. Apologies.

from pypdfium2.

mara004 avatar mara004 commented on June 23, 2024

I've implemented something to pin ctypesgen to an exact commit when building the sdist, which should prevent future occurrences of this type of issue.

pyproject.toml doesn't support env var substitution, which makes the matter slightly inconvenient.
Also we have to use the github API, because git itself to my knowledge doesn't support getting a branch head sha of a remote repo.

from pypdfium2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.