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

ImportError: cannot import name 'DocumentParser' from partially initialized module 'openparse' #36

Open
1 task done
spar025 opened this issue Apr 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@spar025
Copy link

spar025 commented Apr 27, 2024

Initial Checks

  • I confirm that I'm on the latest version

Description

Why is my Basic Extraction not running properly? The prompt message is as follows:
image

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)
@spar025 spar025 added the bug Something isn't working label Apr 27, 2024
@Filimoa
Copy link
Owner

Filimoa commented Apr 28, 2024

How did you install open-parse?

@Filimoa Filimoa changed the title Why is my Basic Extraction not running properly? The prompt message is as follows ImportError: cannot import name 'DocumentParser' from partially initialized module 'openparse' Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants