View Single Post
Old 08-07-2010, 02:50 PM   #183
epstewart
Connoisseur
epstewart will become famous soon enoughepstewart will become famous soon enoughepstewart will become famous soon enoughepstewart will become famous soon enoughepstewart will become famous soon enoughepstewart will become famous soon enough
 
Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
Quote:
Originally Posted by SonomaLass View Post
Pie,

I tried your suggestion, but it said "sudo" was an invalid command.

epstuart,

I ran the repair permissions function and got a LONG list of hits, I guess you could call them. I can reproduce them here if it helps. But then I tried the pycrypto install again and got the same error as before, so the disk repair doesn't seem to have fixed whatever the problem is.

Any other suggestions? I really appreciate help with figuring this out,
SonomaLass,

One of my blog posts may help you. To find it, enter "iPhone: Reading Adobe/EPUB eBooks" into a Google search box. It should be the first hit that Google lists.

If you go to my blog post and scroll down to Step 3, I talk about installing PyCrypto on Windows and Mac platforms. I have a Mac that runs OS X 10.5.x Leopard, and the PyCrypto install procedure I describe in Step 3 of my blog post worked for me.

The key steps are:

(1) Obtain pycrypto-2.0.1.tar.gz using a link I give in my post and expand it into a pycrypto-2.0.1 folder on the Desktop.

(2) Obtain an AppleScript app called PyCrypto_2.0.1_Installer. It is what you get if you follow a second link in my post and download and expand PyCrypto_2.0.1_Installer.app.zip.

(3) Run PyCrypto_2.0.1_Installer, pointing it at the pycrypto-2.0.1 folder on the Desktop.

The result should be a successful PyCrypto install that will allow you to use the relevant Python scripts to decrypt Adobe EPUB and PDF e-books. You will know that your PyCrypto install was OK if you see, after running PyCrypto_2.0.1_Installer, the message "Writing /Library/Python/2.5/site-packages/pycrypto-2.0.1-py2.5.egg-info" in the terminal window that opens automatically when you run the AppleScript.

I can't give you direct links to my blog post or the things that it links to because this forum does not permit direct links to methods of de-DRM'ing e-books.

Good luck!
epstewart is offline   Reply With Quote