-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
how to install pycrpto via Wine 9.0 and python 3.9? #2385
Comments
If you're just dealing with Adobe DRM and you don't want to mess with Wine, you could try the DeASCM plugin instead of using ADE. Recommend the latest calibre 7.23 and DeDRM 10.0.9. |
Dear ElleKayEm, thanks a lot.. I had just discovered yesterday later this post from you and want to try it: However, I have a question: how do I know, whether I have the required "xdg-utils, wget, xz-utils and Python installed on your system before running the installer"... so far, I have only installed python 3.9 via Wine (as was recommended to make the dedrm-plugin work). I do not know, how python would work under the linux terminal (I only know pip install xxx from Windows), as I am a LInux beginner. Would you recommend to re-install python for LInux? https://calibre-ebook.com/download_linux Hopefully, the installation of the new calibre version (the former one I installed via flatpack or however it is called) will work - hope I'll be able to try during the day.... |
No idea. I use Windows and ADE myself. I'm just suggesting what others have reported working for them. |
OK, I had updated to the DeDRM- and Calibre-versions as recommended above. Then, I had thought I had sorted out everything, but it still does not work. I can download acsm-files into Calibre and open then in ADE, or download them into ADE and then import epubs in Calibre, but I still do not get rid of the DRM!!! Maybe the problem is that I created an anonymous authorization, and now I am not able to connect to my ADE ID... but if I want to deinstall the ACSM-script and re-install it to chose another option, this does not work anymore: I always get the anonymous authorization where it says it cannot connect to ADE. Other issue might be, that my wine-prefix is wrong? I inserted: .wine/drive_c So the question is what to do? I am somehow stuck... Thanks again for any hint! |
Maybe, I need to install Calibre also via Wine not LInux? I will try that tomorrow... |
You were able to download the book directly into calibre with DeACSM plugin? Try saving the key from the DeACSM plugin and importing into DeDRM's customization. |
That's what I did... key etc should be linked properly. That is why I assume, that I should have installed Calibre as well via this "Wine extension" like ADE. But now I am stuck again, as Calibre is installed in Wine, but cannot be found afterwards... Hopefully, I will get help from any Wine expert... |
I was hoping DeACSM would let you avoid dealing with Wine at all. At least Windows calibre would let you avoid messing with a Python install in Wine. You might need an older calibre and DeDRM for that. Try calibre 4.23 and DeDRM 6.8.1. If that works, you could import the key into your Linux setup. |
Thanks, I will need to try... would you assume I should first try the calibre 4.23 in Linux again without wine, or try to install calibre via wine (however, I still to not understand, where wine puts the portable solution, but if you are not using it, it is difficult to recommend anything, of course). And whether I should install DeDRM also via wine? Currently, the only thing I installed via Wine was the Adobe Digital Editions... I think I need a break to figure it out .. still need to learn how to do my safety backups in Linux first! :-) |
The suggestion was for Windows calibre 4.23 with the DeDRM 6.8.1 plugin as versions which would work under Wine for the purpose of adding a book from ADE and retrieving the key. If it works, you could save the key from the Wine/Windows calibre/DeDRM and import it into Linux calibre/DeDRM. |
I am now on it again.... and now the installment of 4.23 does not work, which hopefully gets resolved. |
Dear all, I have been trying for hours to get my DeDRM-running, and all I could find is the explanation, that my decryption keys for Adobe Digitals editions are missing.
I have Calibre 6.13.0 (from my Linux Mint distribution), I have Adobe Digital Editions 4.5 (installed via Wine 9.0), and I have also installed the DDRM -plug in 7.2.1 ... but my EPUB-ebooks which I successfully downloaded from our virtual library remain blocked.
The following instruction is given:
for PC
If you install Kindle for PC and/or Adobe Digital Editions in Wine, you will be able to download DRMed ebooks to them under Wine. To be able to remove the DRM, you will need to generate key files and add them in the plugin's customisation dialogs.
To generate the key files you will need to install Python and PyCrypto under the same Wine setup as your Kindle for PC and/or Adobe Digital Editions installations. (Kindle for PC, Python and Pycrypto installation instructions in the ReadMe.)
Once everything's installed under Wine, you'll need to run the adobekey.pyw script (for Adobe Digital Editions) and kindlekey.pyw (For Kindle for PC) using the python installation in your Wine system. The scripts can be found in Other_Tools/Key_Retrieval_Scripts.
Each script will create a key file in the same folder as the script. Copy the key files to your Linux system and then load the key files using the Adobe Digital Editions ebooks dialog and the Kindle for Mac/PC ebooks dialog.
However, I am not able to download pycrypto for python 3.9 --> there only is a ---/pycrypto-2.6.1.tar.gz which I unzippend and then I do not know, how to install this via Wine.
I also tried to find a python 2.7 exe version to make an older pycrypto.exe-version (wich I found) working, but this also was not successful. And even if I got it work, then I do not understand the last sentence of the explanation how to copy the key files... however, I would be happy to get some advice on how to proceed... all hints I found are refering to other versions of the programmes...
Thanks a lot!
Best regards,
ju-schaefer
CheckList
The Title
and TheLog Title
are setted correctly.my environment
.the log
.Title
My Environment
Calibre:
Version
6.13.0Kindle:
Version
very oldDeDRM:
Version
7.2.1ADE:
Version
4.5Python
Version
3.9Log
Log Title
The text was updated successfully, but these errors were encountered: