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

Would love to be able to use this on windows #4

Open
L0garithmic opened this issue Aug 9, 2020 · 4 comments
Open

Would love to be able to use this on windows #4

L0garithmic opened this issue Aug 9, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@L0garithmic
Copy link

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?

@gryf
Copy link
Owner

gryf commented Aug 17, 2020

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?

@gryf gryf added the enhancement New feature or request label Aug 17, 2020
@L0garithmic
Copy link
Author

I have since switched to Calibre command-line and it's working for me. But I appreciate the response!

@CodeSPA
Copy link

CodeSPA commented Nov 20, 2023

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.

@gryf
Copy link
Owner

gryf commented Nov 20, 2023

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.

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

No branches or pull requests

3 participants