无法转换 - "没有名为 'Crypto' 的模块"

作者: GlenHenshaw创建于 2023年3月23日更新于 2026年4月5日
Log Title
log
Added A Great and Terrible King: Edward I and the Forging of Britain to db in: 0.1
Added 1 books in 0.7 seconds
Worker Launch took: 0.02 seconds
Job: 1 Convert book 1 of 1 (A Great and Terrible King: Edward I and the Forging of Britain) finished
Convert book 1 of 1 (A Great and Terrible King: Edward I and the Forging of Britain)
        DeDRM v7.2.1: Trying to decrypt m_aa8uz0.azw3
        Using Library AlfCrypto DLL/DYLIB/SO
        Using Library AlfCrypto DLL/DYLIB/SO
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
          File "calibre_plugins.dedrm.kfxdedrm", line 18, in <module>
            from ion import DrmIon, DrmIonVoucher
          File "/tmp/calibre_5.37.0_tmp_949uicag/pa9a4it9plugin_unzip/ion.py", line 33, in <module>
            from Crypto.Cipher import AES
        ModuleNotFoundError: No module named 'Crypto'

        During handling of the above exception, another exception occurred:

        Traceback (most recent call last):
          File "/usr/lib/calibre/calibre/customize/ui.py", line 175, in _run_filetype_plugins
            nfp = plugin.run(nfp) or nfp
          File "calibre_plugins.dedrm.__init__", line 633, in run
            decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
          File "calibre_plugins.dedrm.__init__", line 527, in KindleMobiDecrypt
            import calibre_plugins.dedrm.k4mobidedrm
          File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 191, in exec_module
            exec(compiled, module.__dict__)
          File "calibre_plugins.dedrm.k4mobidedrm", line 88, in <module>
            from calibre_plugins.dedrm import kfxdedrm
          File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 191, in exec_module
            exec(compiled, module.__dict__)
          File "calibre_plugins.dedrm.kfxdedrm", line 20, in <module>
            from calibre_plugins.dedrm.ion import DrmIon, DrmIonVoucher
          File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 191, in exec_module
            exec(compiled, module.__dict__)
          File "calibre_plugins.dedrm.ion", line 33, in <module>
            from Crypto.Cipher import AES
        ModuleNotFoundError: No module named 'Crypto'
        Conversion options changed from defaults:
          cover: '/tmp/calibre_5.37.0_tmp_949uicag/32ipieio.jpeg'
          pdf_sans_family: 'Nimbus
…

内容来源: apprenticeharper/DeDRM_tools