Giter Site home page Giter Site logo

Comments (5)

ElleKayEm avatar ElleKayEm commented on July 17, 2024

Unable to find python3 executable in WINEPREFIX=""

DeDRM isn't able to run the Kindle key retrieval script under Wine. I don't know if this is something that needs to be fixed in DeDRM or if it would work if only you had the right versions of Python and Pycrytodome or what-have-you installed under Wine.

You wouldn't have to worry about Python etc if you install Windows calibre under Wine -- the scripts can use calibre's built in Python. But you probably need an older version of calibre to get it to install.

First, since this is an older book and you can download it with an older version of Kindle for PC, I'd suggest avoiding the KFX format. See the methods under the spoiler in this post: https://www.mobileread.com/forums/showthread.php?t=283371

from dedrm_tools.

ElleKayEm avatar ElleKayEm commented on July 17, 2024

(Didn't mean to hit post yet)

Then you could install Windows calibre 4.23 and load DeDRM 6.8.1 which would work with a non-kfx format copy of the book. (DeDRM 10.0.9 is suppose to be compatible with previous versions of calibre, but DeDRM 6.8.1 definitely is.) If you can successfully decrypt your book there, then you could save the key from Windows calibre/DeDRM and import it into your Linux calibre/DeDRM setup. Then you could decrypt future downloads from that Kindle for PC installation with Linux calibre/DeDRM.

from dedrm_tools.

rytrot avatar rytrot commented on July 17, 2024

Thanks for the reply.

Installing windows calibre using wine is not working. I'm running wine msiexec /i calibre-64bit-4.23.0.msi but the installer is ending prematurely. Is there any way to get this working or do I need to use a windows PC?

from dedrm_tools.

ElleKayEm avatar ElleKayEm commented on July 17, 2024

I haven't tried it myself (no Linux), but I've seen others say they were able to. If you have access to a Windows machine, that would definitely be easier.

from dedrm_tools.

Geremia avatar Geremia commented on July 17, 2024

@rytrot
I had a similar, No installed Python found! issue, which was fixed by checking the "py launcher" box when installing Python. (I installed the latest python-3.12.4-amd64.exe.) In my case, it looked for the Python executable at C:\\users\\geremia\\AppData\\Local\\Programs\\Python\\Launcher\\py.exe.

I had to run wine pip install pycryptodome, too.

Then it can successfully import "Kindle for Mac and PC Keys" from within Calibre, in the DeDRM "Customize plugin" dialog box.

Then you can import KFX *.azw files, DeDRM should decrypt them, and the Calibre KFX Conversion Input Plugin can convert KFX-ZIP to a KFX.

I'm using:

from dedrm_tools.

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.