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

unable to install 0.3.4 version of the layoutparser due to assertion error #141

Closed
felixgao opened this issue May 31, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@felixgao
Copy link

Describe the bug
poetry add layoutparser
Using version ^0.3.4 for layoutparser

Updating dependencies
Resolving dependencies... (0.0s)

AssertionError

at ~/.poetry/lib/poetry/mixology/incompatibility.py:111 in str
107│ )
108│
109│ def str(self):
110│ if isinstance(self._cause, DependencyCause):
→ 111│ assert len(self._terms) == 2
112│
113│ depender = self._terms[0]
114│ dependee = self._terms[1]
115│ assert depender.is_positive()

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version, see the Layout Parser Releases

To Reproduce
Steps to reproduce the behavior:

  1. poetry add layoutparser

Environment

  1. Please describe your Platform [MacOS]
  2. Please show the Layout Parser version
  3. You may add addition that may be helpful for locating the problem, such as
    • How you installed PyTorch [e.g., pip, conda, source] poetry
    • Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error traceback here.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@felixgao felixgao added the bug Something isn't working label May 31, 2022
@lolipopshock
Copy link
Member

Thanks! I think you might want to take a look at poetry's config -- python-poetry/poetry#3491 (comment) .

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