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

ModuleNotFoundError: No module named 'decontext' trying to import CoreRecipe #67

Closed
eugene-graft opened this issue Jan 16, 2024 · 2 comments
Assignees

Comments

@eugene-graft
Copy link

Hi! First of all, thank you for the white paper and the library. The concept of layers is interesting. It's a smart way to represent a document for different purposes.

Unfortunately, I face an issue trying to follow the steps from the README.
Steps to reproduce:

  1. pip install -U papermage
  2. ipython
  3. from papermage.recipes import CoreRecipe => ModuleNotFoundError: No module named 'decontext'

Installing the latest version from the source code fixes the issue.

@kyleclo
Copy link
Collaborator

kyleclo commented Feb 4, 2024

Thanks for catching @eugene-graft! Some issues with pushing latest version to PyPi. Should be fixed now. Can you please test:

# your fresh environment
pip install 'papermage[dev,predictors,visualizers]'
ipython
from papermage.recipes import CoreRecipe

and checking pip list should show papermage == 0.15.0

@kyleclo kyleclo self-assigned this Feb 4, 2024
@eugene-graft
Copy link
Author

Works now! Thanks

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

No branches or pull requests

2 participants