open-parse
open-parse copied to clipboard
ImportError: cannot import name 'DocumentParser' from partially initialized module 'openparse'
Initial Checks
- [X] I confirm that I'm on the latest version
Description
Why is my Basic Extraction not running properly? The prompt message is as follows:
Example Code
import openparse
basic_doc_path = "demo.pdf"
parser = openparse.DocumentParser()
parsed_basic_doc = parser.parse(basic_doc_path)
for node in parsed_basic_doc.nodes:
print(node)
How did you install open-parse?
Closing due to inactivity - have not been able to replicate. I think it might be due to you naming your test file openparse.py the same thing as the package