athrowaway2021 / comix

Seamlessly download and de-drm comics and manga from Kindle in highest possible quality
MIT License
61 stars 20 forks source link

Error when running on Mac #52

Closed euneiros closed 8 months ago

euneiros commented 8 months ago

Traceback (most recent call last): File "/Users/xxxxxx/comix/unkindle.py", line 9, in from third_party.ion import DrmIon,DrmIonVoucher File "/Users/xxxxxx/comix/third_party/ion.py", line 33, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

Verified that pycryptodome is installed. All modules in requirements.txt are installed

mslmn commented 8 months ago

It’s running fine on my M1 Mac. Only thing that doesn’t work is text ebooks but those are out of scope of the tool.

athrowaway2021 commented 8 months ago

Seems to be a common Mac issue with the crypto modules, refer here for a solution. Basically, uninstall crypto and pycrypto packages if they are present and reinstall pycryptodome.

Closed as it's an issue on the dependency's side.