Skip to content
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

Compatibility with Python 3.12 #34

Open
cgueret opened this issue Aug 28, 2024 · 0 comments
Open

Compatibility with Python 3.12 #34

cgueret opened this issue Aug 28, 2024 · 0 comments

Comments

@cgueret
Copy link

cgueret commented Aug 28, 2024

There is an error when loading the plug in with a Python 3.12 install:

  File "calibre_plugins.annotations.action", line 11, in <module>
    import imp, inspect, os, re, sys, tempfile, threading, types
ModuleNotFoundError: No module named 'imp'

And indeed, according to https://docs.python.org/3.11/library/imp.html, the module imp has been deprecated and removed in 3.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant