ebook-converter
ebook-converter copied to clipboard
Would love to be able to use this on windows
Compiled it on windows and it does not work. Read your comments saying windows not supported. Disappointed to say the least as ebook-convert is a mess on windows. Over 160mbs of garbage I don't need to run the exe, since you got it to work in 7.5mb... Any plans on a Windows version?
Currently I don't have a plans to support Windows, what I want to do is to clean up the spaghetti in the current code, and than perhaps I could think of other operating systems (or better - accept the patches which could enable other other operating systems ;))
Maybe using WSL is an option for you?
I have since switched to Calibre command-line and it's working for me. But I appreciate the response!
Development Environment Info: Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021
Quetion Info: when i use "pip install -r requirements.txt" to install dependences, i always get an error when installing html5-parser, and the error message is as follows: Collecting html5-parser (from -r requirements.txt (line 6)) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a9/f6/7b330c4bfd46a7d002c627646b157521d103a39ebab942a654a90119e176/html5-parser-0.4.12.tar.gz (270 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] pkg-config is required to build html5-parser [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
That seems like a mismatch for the html5-parser version. I explicitly use html5-parser==0.4.9 --no-binary lxml
line to pin 0.4.9 version. Although I can install 0.4.12 version from the wheel just fine. I'm not sure why you get it to be compiled.
OTOH, if you want to compile it you need pkg-config, and possibly some other dependence.
Also note, that I don't officially support Windows.