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

Can't install: assert len(weights) == expected_node_count #243

Closed
blueberry64 opened this issue Aug 2, 2023 · 1 comment
Closed

Can't install: assert len(weights) == expected_node_count #243

blueberry64 opened this issue Aug 2, 2023 · 1 comment

Comments

@blueberry64
Copy link

pip install xturing

produces this error:

ERROR: Exception: Traceback (most recent call last): File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper status = run_func(*args) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper return func(self, options, args) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 389, in run to_install = resolver.get_installation_order(requirement_set) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order weights = get_topological_weights( File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights assert len(weights) == expected_node_count

It seems to install if I comment out the assert. len(weights) == 154 and expected_node_count == 156. I figure that's close enough lol.

@tushar2407
Copy link
Contributor

Hi @blueberry64! Seems like the issue not with xTuring library. Please refer to this issue.
Hope this helps!

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

3 participants