-
Notifications
You must be signed in to change notification settings - Fork 24
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
请问epub格式的电子书如何转换为其他格式?代码运行后显示不支持epub格式 #26
Comments
Tina405
changed the title
epub格式的电子书如何转换为其他格式?代码运行后显示不支持epub格式
请问epub格式的电子书如何转换为其他格式?代码运行后显示不支持epub格式
Aug 4, 2024
magic-doc does not support |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在将word文档转换txt格式时可以正常运行,但将epub转换成txt时出现了错误,并显示不支持epub格式
这是报错情况:
Traceback (most recent call last):
File "C:\Users\HP\PycharmProjects\pythonProject\文本转换.py", line 4, in
markdown_content, time_cost = converter.convert(r"C:\Users\HP\Desktop\实验\Anvil (Patton Dirk).epub", conv_timeout=300)
File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 202, in convert
conv: BaseConv = self.__select_conv(doc_path, byte_content)
File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 137, in __select_conv
raise ConvException("Unsupported file format.")
magic_doc.docconv.ConvException: Unsupported file format.
The text was updated successfully, but these errors were encountered: