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

pip install error since 22.0 #3752

Closed
wyli opened this issue Jan 31, 2022 · 0 comments · Fixed by #3778
Closed

pip install error since 22.0 #3752

wyli opened this issue Jan 31, 2022 · 0 comments · Fixed by #3778

Comments

@wyli
Copy link
Contributor

wyli commented Jan 31, 2022

Describe the bug
from tests such as this

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

see also pypa/pip#10851

@wyli wyli changed the title pip install error since its pip install error since 22.0 Jan 31, 2022
wyli added a commit to wyli/MONAI that referenced this issue Jan 31, 2022
@wyli wyli mentioned this issue Jan 31, 2022
7 tasks
wyli added a commit that referenced this issue Jan 31, 2022
* ignore 60.6.0

Signed-off-by: Wenqi Li <[email protected]>

* workaround #3752

Signed-off-by: Wenqi Li <[email protected]>

* fixes windows issue

Signed-off-by: Wenqi Li <[email protected]>
wyli added a commit to wyli/MONAI that referenced this issue Feb 2, 2022
wyli added a commit that referenced this issue Feb 3, 2022
* temp spatial_resample

Signed-off-by: Wenqi Li <[email protected]>

* fixes resampling

Signed-off-by: Wenqi Li <[email protected]>

* fixes precisions

Signed-off-by: Wenqi Li <[email protected]>

* update dict version

Signed-off-by: Wenqi Li <[email protected]>

* fixes unit tests

Signed-off-by: Wenqi Li <[email protected]>

* adds docs

Signed-off-by: Wenqi Li <[email protected]>

* copy grid for resampling

Signed-off-by: Wenqi Li <[email protected]>

* fixes unit tests

Signed-off-by: Wenqi Li <[email protected]>

* remove normalize coordinates

Signed-off-by: Wenqi Li <[email protected]>

* [MONAI] python code formatting

Signed-off-by: monai-bot <[email protected]>

* try to fix #3621 (#3673)

Signed-off-by: Wenqi Li <[email protected]>

* fixes typing

Signed-off-by: Wenqi Li <[email protected]>

* fixes grid_sample, interpolate URLs

Signed-off-by: Wenqi Li <[email protected]>

* simplify norm_coords

Signed-off-by: Wenqi Li <[email protected]>

* update docstring

Signed-off-by: Wenqi Li <[email protected]>

* update moveaxis

Signed-off-by: Wenqi Li <[email protected]>

* spatial sample tests

Signed-off-by: Wenqi Li <[email protected]>

* additional tests spatial resample

Signed-off-by: Wenqi Li <[email protected]>

* test invert saptial resample

Signed-off-by: Wenqi Li <[email protected]>

* fixes unit tests

Signed-off-by: Wenqi Li <[email protected]>

* rtol assert close

Signed-off-by: Wenqi Li <[email protected]>

* fixes TF32 tests

Signed-off-by: Wenqi Li <[email protected]>

* smaller tests

Signed-off-by: Wenqi Li <[email protected]>

* skip when quick testing

Signed-off-by: Wenqi Li <[email protected]>

* comp tensor and ndarray

Signed-off-by: Wenqi Li <[email protected]>

* update based on comments

Signed-off-by: Wenqi Li <[email protected]>

* fixes tests

Signed-off-by: Wenqi Li <[email protected]>

* try to use torch.solve

Signed-off-by: Wenqi Li <[email protected]>

* Revert "fixes tests"

This reverts commit e532490.

Signed-off-by: Wenqi Li <[email protected]>

* update based on comments

Signed-off-by: Wenqi Li <[email protected]>

* fixes test_affined

Signed-off-by: Wenqi Li <[email protected]>

* default to float32 rotate/randrotate

Signed-off-by: Wenqi Li <[email protected]>

* workaround for #3752

Signed-off-by: Wenqi Li <[email protected]>

* default to float32 rotate/randrotate

Signed-off-by: Wenqi Li <[email protected]>

* temp test

Signed-off-by: Wenqi Li <[email protected]>

* update docstring

Signed-off-by: Wenqi Li <[email protected]>

Co-authored-by: monai-bot <[email protected]>
@wyli wyli closed this as completed in #3778 Feb 8, 2022
wyli added a commit that referenced this issue Feb 9, 2022
* ignore 60.6.0

Signed-off-by: Wenqi Li <[email protected]>

* workaround #3752

Signed-off-by: Wenqi Li <[email protected]>

* fixes windows issue

Signed-off-by: Wenqi Li <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant