▲ 2 r/Calibre
Can't add DeDRM plug: "No top level ini.py"
I'm trying to install the DeDRM plugin on my Mac (Mac OS 26.5) with Calibre version 9.8.0.
I've downloaded the zipped DeDRM master folder from github and unzipped it. Inside are the DeDRM and Obok plugins, but they are not zipped. I've tried compressing them into a zip and then adding them to Calibre, but I get the following error message
calibre, version 9.8.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in '/Users/leadstripes/Desktop/DeDRM_tools-master/DeDRM_plugin.zip' is invalid. It does not contain a top-level __init__.py file
calibre 9.8 embedded-python: True
macOS-26.5-arm64-arm-64bit-Mach-O Darwin ('64bit', 'Mach-O')
('Darwin', '25.5.0', 'Darwin Kernel Version 25.5.0: Mon Apr 27 20:41:19 PDT 2026; root:xnu- 12377.121.6~2/RELEASE_ARM64_T8122')
Python 3.14.4
OSX: ('26.5', ('', '', ''), 'arm64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 331, in add_plugin
File "calibre/customize/ui.py", line 574, in add_plugin
File "calibre/customize/ui.py", line 88, in load_plugin
File "calibre/customize/zipplugin.py", line 311, in load
File "calibre/customize/zipplugin.py", line 401, in _locate_code
calibre.customize.InvalidPlugin: The plugin in '/Users/leadstripes/Desktop/DeDRM_tools-master/DeDRM_plugin.zip' is invalid. It does not contain a top-level __init__.py file
u/Leadstripes — 1 day ago