Team,
I reinstalled my Win10 system, Calibre 5.31.1, Python 3.9.4 and pip 21.3.1. All these are the last available versions.
I can't run my former python code where I use direct APIs like this:
Code:
from calibre.library import db
db = db(EPBDirNam).new_api
EC = db.all_book_ids()
J = set(EC)
because I'm unable to load the right Calibre package in the python environment. I've read the Calibre documentation, but didn't find examples where the right package is mentioned. Here is what I try with pip and the message I get:
Code:
E:\>python -m pip install calibre
ERROR: Could not find a version that satisfies the requirement calibre (from versions: none)
ERROR: No matching distribution found for calibre
What could be wrong? Many thanks in advance for your help.