On Mon, Jan 11, 2021 at 1:02 PM Kevin Fenzi <kevin@scrye.com> wrote:
On Sat, Jan 09, 2021 at 08:37:03PM -0500, David King wrote:
> On 1/9/21 8:05 PM, Clifford Snow wrote:
> > I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written
> > for Python3 while version 4 was written in Python2. DeDRM is only
> > available for Python2. Python3 support is being worked on but is still
> > in development.
> >
> > Has anyone found a good workaround until DeDRM for Python3 is available?
>
> Calibre 4.23.0 is the version that is packaged and available from the Fedora
> 33 repositories.  It runs under Python 2 so DeDRM work just fine with it. 

Yes, and no.

4.23.0 is in f33, but it is using python3, not python2.

Fedora moved calibre to python3 much sooner than upstream did because
python2 was being phased out in fedora. Unfortunately, we can't upgrade
to 5.x due to some dependencies in other packages not being ready yet.
;(

> I've been using this for some time without issue.

With the python3 plugin it should work I would think...

I agree that the existing python2 plugins don't work. For example DeDRM 6.8.1 errors out with python 2 print statement instead of the python3 print() statement.
The DeDRM built for python3 fails to install on Calibre 4.23 with an error that the plugin requires  a version of Calibrer >= 5.0.0.

I'll give Calibre 5.0.0 a try as suggested by Patrick O'Callaghan.

Thanks,
Clifford

 -- 
@osm_washington
OpenStreetMap: Maps with a human touch