Skip to content

AttributeError: module 'aspose.words' has no attribute 'io' #2

@muhammadumargroupdocs

Description

@muhammadumargroupdocs

Hi,

When we call backend function to convert DOCX to Markdown (MD). It generates error as follows:

AttributeError: module 'aspose.words' has no attribute 'io'

Here is the trace:


    def convert_to_md(self, file_path: str) -> str:
        doc = aw.Document(file_path)
>       stream = aw.io.MemoryStream()
E       AttributeError: module 'aspose.words' has no attribute 'io'

markitdown\backend\word_converter.py:9: AttributeError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions